-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
57 lines (53 loc) · 1.48 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import setuptools
import sys
import pathlib
if sys.version_info.major < 3:
print("\nPython 2 is not supported! \nPlease upgrade to Python 3.\n")
print(
"Installation of BookCut stopped, please try again with\n"
"a newer version of Python!"
)
sys.exit(1)
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setuptools.setup(
name="BookCut",
python_requires=">3.5.2",
version="1.3.7",
author="Costis94",
author_email="gravitymusician@gmail.com",
description="Command Line Interface app to download ebooks",
long_description_content_type="text/markdown",
long_description=README,
url="https://github.com/costis94/bookcut",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"pandas",
"click>=7.1.2",
"requests",
"beautifulsoup4",
"pyfiglet",
"tqdm",
"mechanize",
],
extras_require={
"dev": [
"pytest",
"pytest-cov",
"pre-commit",
"black",
]
},
include_package_data=True,
entry_points="""
[console_scripts]
bookcut=bookcut.bookcut:entry
""",
)