-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (53 loc) · 1.73 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
from setuptools import setup, find_packages
with open("README.md", encoding='utf-8') as f:
long_description = f.read()
version = None
with open('./src/plugin_jm_server/__init__.py', encoding='utf-8') as f:
for line in f:
if '__version__' in line:
version = line[line.index("'") + 1: line.rindex("'")]
break
if version is None:
print('Set version first!')
exit(1)
setup(
name='plugin_jm_server',
version=version,
description='plugin_jm_server, a plugin for jmcomic that can be used to view comics in a web browser.',
long_description_content_type="text/markdown",
long_description=long_description,
url='https://github.com/hect0x7/plugin-jm-server',
author='hect0x7',
author_email='93357912+hect0x7@users.noreply.github.com',
packages=find_packages("src"),
package_dir={"": "src"},
python_requires=">=3.7",
install_requires=[
'jmcomic',
'flask',
'psutil',
'cryptography',
],
keywords=['python', 'jmcomic', '18comic', '禁漫天堂', 'NSFW'],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
],
entry_points={
},
package_data={
"plugin_jm_server": [
"static/**",
"templates/**",
],
}
)