From acc96b69022780a9204e91b07a143b175a0ac2d9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 7 Jun 2020 20:23:00 +0100 Subject: [PATCH] add setup.py --- setup.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..82a41c9 --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +import setuptools + +with open("README.md", "r") as fh: + long_description = fh.read() +with open("VERSION", "r") as version_file: + version = version_file.read().strip() +with open("requirements.txt", "r") as requirements_file: + install_requires = requirements_file.read().splitlines() + +setuptools.setup( + name="ircrobots", + version=version, + author="jesopo", + author_email="pip@jesopo.uk", + description="Asyncio IRC bot framework", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/jesopo/ircrobots", + packages=setuptools.find_packages(), + package_data={"ircrobots": ["py.typed"]}, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Operating System :: POSIX", + "Operating System :: Microsoft :: Windows", + "Topic :: Communications :: Chat :: Internet Relay Chat" + ], + python_requires='>=3.6', + install_requires=install_requires +)