-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
56 lines (49 loc) · 1.6 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
#!/usr/bin/env python
import os
from setuptools import setup
from hyperledger import version
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
requirements = [
'requests >= 2.5.0',
'six >= 1.4.0',
# 'websocket-client >= 0.32.0',
]
exec(open('hyperledger/version.py').read())
with open('README.md') as f:
long_description = f.read()
with open('./test-requirements.txt') as test_reqs_txt:
test_requirements = [line for line in test_reqs_txt]
setup(
name='hyperledger',
version=version,
keywords=('hyperledger', 'blockchain'),
license='Apache License v2.0',
description="Python client for Hyperledger.",
long_description=long_description,
author='Baohua Yang',
author_email='yangbaohua@gmail.com',
url='https://github.com/yeasy/hyperledger-py/',
packages=[
'hyperledger', 'hyperledger.api', 'hyperledger.auth',
'hyperledger.ssladapter', 'hyperledger.utils',
],
platforms='any',
install_requires=requirements,
tests_require=test_requirements,
zip_safe=False,
test_suite='tests',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
],
)