diff options
| author | Yuval Adam <_@yuv.al> | 2022-01-17 19:40:11 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2022-01-17 19:40:11 +0200 |
| commit | f361fcb8f47d04592e2605e4b0820635b4296cf5 (patch) | |
| tree | e22c7bccaba1786afc3bd46b13fe1911e42c08c5 /setup.py | |
| parent | 880a4ee4390d2ec4f3ef3633cfa965186208ad81 (diff) | |
Inital setup files and future CLI entry point
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..344a83a --- /dev/null +++ b/setup.py @@ -0,0 +1,36 @@ +from pathlib import Path +from setuptools import setup, find_packages + +with open( + str(Path(__file__).resolve().parents[0] / "README.md"), encoding="utf-8" +) as f: + long_description = f.read() + +setup( + name="nostr", + author="Yuval Adam", + author_email="_@yuv.al", + version="0.1.0", + description="Python implementation for the nostr protocol", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/yuvadm/nostrpy", + license="MIT", + python_requires=">=3.7.0", + packages=find_packages(exclude=["docs", "tests"]), + classifiers=[ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + ], + entry_points={ + "console_scripts": [ + "nostr = nostr.cli:entry", + ] + }, +) |
