forked from icon-project/icon-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (52 loc) · 1.63 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
#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
with open('requirements.txt') as requirements:
requires = list(requirements)
about = {}
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'iconservice/__version__.py'), 'r',
encoding='utf-8') as f:
exec(f.read(), about)
extra_requires = {
"test": [
"hypothesis>=4.0.0",
"pytest>=3.6",
"pytest-cov>=2.5.1",
"iconsdk",
"pytest-mock"
]
}
setup_options = {
'name': 'iconservice',
'version': about['__version__'],
'description': 'ICON Service for Python',
'long_description_content_type': 'text/markdown',
'long_description': open('README.md').read(),
'url': 'https://github.com/icon-project/icon-service',
'author': 'ICON Foundation',
'author_email': '[email protected]',
'packages': find_packages(exclude=['tests*', 'docs']),
'package_data': {'iconservice': [
'builtin_scores/*/package.json',
'res/*'
]},
'license': "Apache License 2.0",
'install_requires': requires,
'extras_require': extra_requires,
'python_requires': '>=3.7, <3.8',
'entry_points': {
'console_scripts': [
'iconservice=iconservice.icon_service_cli:main'
],
},
'classifiers': [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.7'
]
}
setup(**setup_options)