From e989ce6d654a0f86d83e21d9f9a279701e29defa Mon Sep 17 00:00:00 2001 From: Benawi Adha Date: Sun, 2 Oct 2022 21:38:31 +0700 Subject: Restore and update setup.py for AUR pkg compatibility --- setup.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..cace15f --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +from setuptools import setup, find_packages + +with open("README.md", "r") as fh: + long_description = fh.read() + +setup( + name="epy-reader", + version="2022.10.2", + description="Terminal/CLI Ebook (epub, fb2, mobi, azw3) Reader", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/wustho/epy", + author="Benawi Adha", + author_email="benawiadha@gmail.com", + license="GPL-3.0", + keywords=["epub", "epub3", "fb2", "mobi", "azw3", "CLI", "Terminal", "Reader"], + python_requires="~=3.8", + packages=find_packages(where="src"), + package_dir={"": "src"}, + entry_points={"console_scripts": ["epy = epy_reader.__main__:main"]}, + install_requires=["windows-curses;platform_system=='Windows'"], + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "Operating System :: OS Independent", + ], +) -- cgit