-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·60 lines (51 loc) · 1.31 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import os
from codecs import open
requires = [
'requests>=2.18.0'
]
test_requires = [
'pytest',
'mock',
'pyyaml',
'tox',
'coverage'
]
doc_requires = [
'sphinx',
'sphinx-rtd-theme'
]
here = os.path.abspath(os.path.dirname(__file__))
about = {}
try:
with open(os.path.join(here, 'necbaas', '__version__.py'), encoding="utf-8") as f:
exec(f.read(), about)
with open("README.md", encoding="utf-8") as f:
description = f.read()
except IOError:
# for tox
description = "dummy description"
setup(
name='necbaas',
version=about['__version__'],
packages=['necbaas'],
description='NEC Mobile Backend platform Python SDK',
long_description=description,
long_description_content_type='text/markdown',
author='NEC Corporation',
url='https://github.com/nec-baas/baas-sdk-python',
install_requires=requires,
extras_require={
'test': test_requires,
'doc': doc_requires
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
]
)