-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
126 lines (98 loc) · 2.88 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
####
#
# fiction-dl
# Copyright (C) (2020 - 2021) Benedykt Synakiewicz <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
####
###
#
#
# Imports.
#
#
###
# Application.
import fiction_dl.Configuration as Configuration
# Standard packages.
from setuptools import find_packages, setup
# Non-standard packages.
from dreamy_utilities.Filesystem import ReadTextFile
###
#
#
# The start-up routine.
#
#
###
setup(
name = Configuration.ApplicationName,
version = Configuration.ApplicationVersion,
author = Configuration.CreatorName,
author_email = Configuration.CreatorContact,
description = Configuration.ApplicationShortDescription,
long_description = ReadTextFile("README.md"),
long_description_content_type = "text/markdown",
url = Configuration.ApplicationURL,
install_requires = [
"PyMuPDF",
"bleach",
"bs4",
"dreamy-utilities>=1.2.0",
"ebooklib",
"fake-useragent",
"html5lib",
"lxml",
"markdown",
"numpy",
"opencv-python",
"pillow",
"praw",
"pykakasi",
"pyopenssl",
],
packages = find_packages(),
package_data = {
"": [
"*.css",
"*.html",
"*.odt",
"*.xml"
]
},
entry_points = {
"console_scripts": [
"fiction-dl = fiction_dl.__main__:Main",
"f-dl = fiction_dl.__main__:Main",
]
},
classifiers = [
# Development Status :: 1 - Planning
# Development Status :: 2 - Pre-Alpha
# Development Status :: 3 - Alpha
# Development Status :: 4 - Beta
# Development Status :: 5 - Production/Stable
# Development Status :: 6 - Mature
# Development Status :: 7 - Inactive
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Topic :: Internet :: WWW/HTTP",
],
python_requires = ">=3.8",
)