diff options
| author | Tulir Asokan <tulir@maunium.net> | 2020-09-13 03:56:28 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2020-09-13 03:56:28 +0300 |
| commit | 80bcf6d0acdf35f082a6765db989ef80100f20fb (patch) | |
| tree | 89a02e12c0a4094863a80e2ff00591cb3551cb94 /setup.py | |
| parent | de79aea53568cf00f07610ceb233cf4f69837e81 (diff) | |
Reorganize Python stuff and add command to create packs
Fixes #11
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..b639d36 --- /dev/null +++ b/setup.py @@ -0,0 +1,42 @@ +import setuptools + +with open("requirements.txt") as reqs: + install_requires = reqs.read().splitlines() + +try: + long_desc = open("README.md").read() +except IOError: + long_desc = "Failed to read README.md" + +setuptools.setup( + name="maunium-stickerpicker", + version="0.1.0", + url="https://github.com/maunium/stickerpicker", + + author="Tulir Asokan", + author_email="tulir@maunium.net", + + description="A fast and simple Matrix sticker picker widget", + long_description=long_desc, + long_description_content_type="text/markdown", + + packages=setuptools.find_packages(), + + install_requires=install_requires, + python_requires="~=3.6", + + classifiers=[ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", + "Framework :: AsyncIO", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + ], + entry_points={"console_scripts": [ + "sticker-import=sticker.import:cmd", + "sticker-pack=sticker.pack:cmd", + ]}, +) |
