forked from CityOfZion/neo-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 1.88 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
#!/usr/bin/env python3
"""The setup script."""
from setuptools import setup, find_packages
try: # pip version >= 10.0
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession
except ImportError: # pip version < 10.0
from pip.req import parse_requirements
from pip.download import PipSession
with open('README.rst') as readme_file:
readme = readme_file.read()
# get the requirements from requirements.txt
install_reqs = parse_requirements('requirements.txt', session=PipSession())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name='neo-python',
python_requires='>=3.6',
version='0.8.4',
description="Python Node and SDK for the NEO blockchain",
long_description=readme,
author="Thomas Saunders",
author_email='[email protected]',
maintainer="Erik van den Brink",
maintainer_email='[email protected]',
url='https://github.com/CityOfZion/neo-python',
packages=find_packages(include=['neo']),
entry_points = {
'console_scripts': [
'np-prompt=neo.bin.prompt:main',
'np-api-server=neo.bin.api_server:main',
'np-bootstrap=neo.bin.bootstrap:main',
'np-reencrypt-wallet=neo.bin.reencrypt_wallet:main',
'np-sign=neo.bin.sign_message:main',
'np-export=neo.bin.export_blocks:main',
'np-import=neo.bin.import_blocks:main',
],
},
include_package_data=True,
install_requires=reqs,
license="MIT license",
zip_safe=False,
keywords='neo, python, node',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)