-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (56 loc) · 2.28 KB
/
setup.py
File metadata and controls
58 lines (56 loc) · 2.28 KB
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
from os import path
from setuptools import setup, find_packages
from srunpy import __version__ as srunpy_version
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
long_description = long_description.replace("./Show.png","https://github.com/HofNature/SRunPy-GUI/raw/main/Show.png")
setup(
name="srunpy",
version=srunpy_version,
author="HofNature",
description="适用于深澜网关的校园网第三方登录器",
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(),
install_requires=["requests",
"setuptools<81", "pip",
"pystray;platform_system=='Windows'",
"pywebview;platform_system=='Windows'",
"pywin32;platform_system=='Windows'",
"win10toast;platform_system=='Windows'",
"pycryptodome;platform_system=='Windows'"],
extras_require={
'qt': ["pywebview[qt]"],
'build': ["pywebview", "nuitka"],
},
python_requires=">=3.7",#, <3.13",
url="https://github.com/HofNature/SRunPy-GUI",
license="GPL-3.0",
keywords=["srun", "srunpy", "srun-client", "srun-gui", "srunpy-gui", "srun-client-gui","network","login","logout","gateway"],
include_package_data=True,
entry_points={
"gui_scripts": [
"srunpy-gui=srunpy.entry:Gui",
],
"console_scripts": [
"srunpy=srunpy.entry:Main",
"srunpy-cli=srunpy.entry:Cli",
"srunpy-build=srunpy.entry:Build",
]
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
]
)