aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenawi Adha <benawiadha@gmail.com>2022-10-02 21:38:31 +0700
committerBenawi Adha <benawiadha@gmail.com>2022-10-02 21:38:31 +0700
commite989ce6d654a0f86d83e21d9f9a279701e29defa (patch)
tree6838463be074867e9b54dd4f5324ef2a92d0bccf
parent258c30d2e088cd4ab091a53794da3f93af79915d (diff)
downloadepy-e989ce6d654a0f86d83e21d9f9a279701e29defa.tar.gz
Restore and update setup.py for AUR pkg compatibility
-rw-r--r--setup.py27
1 files changed, 27 insertions, 0 deletions
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",
+ ],
+)