-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathsetup.py
46 lines (43 loc) · 1.58 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
import setuptools
import gqylpy_dict as g
gdoc: list = g.__doc__.split('\n')
for index, line in enumerate(gdoc):
if line.startswith('@version: ', 4):
version = line.split()[-1]
break
_, author, email = gdoc[index + 1].split()
source = gdoc[index + 2].split()[-1]
setuptools.setup(
name=g.__package__,
version=version,
author=author,
author_email=email,
license='WTFPL,Apache-2.0',
url='http://gqylpy.com',
project_urls={'Source': source},
description='''
`gqylpy-dict` is based on the built-in `dict` and serves as an
enhancement to it. It can do everything the built-in `dict` can do, and
even more.
'''.strip().replace('\n ', ''),
long_description=open('README.md', encoding='utf8').read(),
long_description_content_type='text/markdown',
packages=[g.__package__],
python_requires='>=3.8',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Artistic Software',
'Topic :: Scientific/Engineering :: Mathematics',
'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'
]
)