-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (46 loc) · 1.67 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
from setuptools import setup, find_packages
with open("./zeraora/__init__.py") as f:
for line in f.readlines():
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
version = line.split(delim)[1]
break
else:
print("Can't find version! Stop Here!")
exit(1)
with open('README.md', encoding='UTF-8') as f:
long_description = f.read()
setup(
name='Zeraora',
version=version,
url='https://github.com/aixcyi/zeraora',
license='MIT',
author='aixcyi',
description="A personal utility package, with long time supports.",
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
# https://pypi.org/classifiers/
"Development Status :: 3 - Alpha",
"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",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Natural Language :: Chinese (Simplified)",
"License :: OSI Approved :: MIT License",
"Topic :: Utilities",
"Typing :: Typed",
],
project_urls={
"Source": "https://github.com/aixcyi/zeraora",
"Tracker": "https://github.com/aixcyi/zeraora/issues",
},
python_requires='>=3.7',
packages=find_packages(where=".", exclude=['test*']),
)