This repository has been archived by the owner on Jan 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
66 lines (61 loc) · 2.12 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
import sys
import os
from setuptools import setup, find_packages
from codecs import open
here = os.path.abspath(os.path.dirname(__file__))
# 'setup.py publish' shortcut.
if sys.argv[-1] == 'publish':
os.system('python setup.py bdist_wheel')
os.system('twine upload dist/*')
sys.exit()
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
readme = f.read()
about = {}
with open(os.path.join(here, 'jike', '__init__.py'), encoding='utf-8') as f:
exec('\n'.join(filter(lambda l: l.startswith('__'), f.readlines())), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
long_description=readme,
url=about['__url__'],
author=about['__author__'],
author_email=about['__author_email__'],
license=about['__license__'],
python_requires="!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
classifiers=[
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Topic :: Internet :: WWW/HTTP :: Browsers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
keywords=about['__keywords__'],
packages=find_packages(exclude=['docs', 'tests']),
package_dir={
'jike': 'jike'
},
install_requires=[
'requests>=2.18.0',
'pillow>=3.4.0',
'qrcode>=5.3',
],
extras_require={
'test': ['responses>=0.8.0'],
'doc': ['nbconvert>=5.3.0']
},
tests_require=['responses>=0.8.0'],
project_urls={
'Bug Reports': 'https://github.com/Sorosliu1029/Jike-Metro/issues',
'Say Thanks!': 'http://saythanks.io/to/Sorosliu1029',
'Source': 'https://github.com/Sorosliu1029/Jike-Metro/',
},
)