-
Notifications
You must be signed in to change notification settings - Fork 202
/
setup.py
50 lines (45 loc) · 1.62 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
# SPDX-License-Identifier: Apache-2.0
#
#!/usr/bin/env python
import io
import os
from setuptools import setup, find_packages
from hfc import VERSION
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
exec(open('hfc/version.py').read())
with open('./requirements.txt') as reqs_txt:
requirements = [line for line in reqs_txt]
with open('./requirements-test.txt') as test_reqs_txt:
test_requirements = [line for line in test_reqs_txt]
setup(
name='fabric-sdk-py',
version=VERSION,
keywords=('Hyperledger Fabric', 'SDK'),
license='Apache License v2.0',
description="Python SDK for Hyperledger Fabric.",
long_description=io.open('README.md', encoding='utf-8').read(),
author='Hyperledger Community',
project_urls={
'Documentation': 'https://fabric-sdk-py.readthedocs.io/en/latest/tutorial.html',
'Source': 'https://github.com/hyperledger/fabric-sdk-py',
},
url='https://github.com/hyperledger/fabric-sdk-py/',
download_url='https://github.com/hyperledger/fabric-sdk-py/',
packages=find_packages(exclude=['docs', 'tests*']),
platforms='any',
install_requires=requirements,
tests_require=test_requirements,
zip_safe=False,
test_suite='test',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
],
include_package_data=True,
)