From f361fcb8f47d04592e2605e4b0820635b4296cf5 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 17 Jan 2022 19:40:11 +0200 Subject: Inital setup files and future CLI entry point --- setup.py | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 setup.py (limited to 'setup.py') 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", + ] + }, +) -- cgit v1.3.1