-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
53 lines (48 loc) · 1.66 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
'''
Reference:
https://packaging.python.org/tutorials/distributing-packages/
'''
from io import open
from os import path
from setuptools import find_packages, setup
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst'), encoding='utf-8') as f:
LONG_DESC = f.read()
KWARGS = dict(
name='yunpian-python-sdk',
version='1.0.0',
description='Yunpian Python SDK',
long_description=LONG_DESC,
author='dzh',
author_email='daizhong@yunpian.com',
url='https://github.com/yunpian/yunpian-python-sdk',
download_url='https://pypi.python.org/pypi/yunpian-python-sdk',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: Chinese (Simplified)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='yunpian sdk',
packages=find_packages(exclude=['dist']),
install_requires=['requests>=2'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
# $ pip install -e .[dev,test]
extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
},
package_data={
# 'sample': ['package_data.dat'],
}
)
if __name__ == '__main__':
setup(**KWARGS)