-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
87 lines (75 loc) · 2.38 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
"""
cryptoconditions provide a mechanism to describe a signed
message such that multiple actors in a distributed system
can all verify the same signed message and agree on whether
it matches the description.
"""
from setuptools import setup, find_packages
version = {}
with open('cryptoconditions/version.py') as fp:
exec(fp.read(), version)
with open('README.rst') as readme_file:
readme = readme_file.read()
tests_require = [
'coverage',
'hypothesis',
'pep8',
'pyflakes',
'pylint',
'pytest',
'pytest-cov',
'pytest-xdist',
]
dev_require = [
'ipdb',
'ipython',
]
docs_require = [
'recommonmark>=0.4.0',
'Sphinx>=1.3.5',
'sphinxcontrib-napoleon>=0.4.4',
'sphinx-rtd-theme>=0.1.9',
]
setup(
name='cryptoconditions',
version=version['__version__'],
description='Multi-algorithm, multi-level, multi-signature format for '
'expressing conditions and fulfillments according to the Interledger Protocol (ILP).',
long_description=readme,
summary="Cryptoconditions as specified by the interledger protocol",
keywords="cryptoconditions, interledger, merkle tree, ed25519, threshold signatures, hash lock",
url='https://github.com/bigchaindb/cryptoconditions/',
author='Cryptoconditions Contributors',
author_email='[email protected]',
license='MIT',
zip_safe=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Software Development',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
],
packages=find_packages(exclude=['tests*', 'examples']),
install_requires=[
'base58==2.1.0',
'PyNaCl==1.4.0',
'pyasn1==0.4.8',
'cryptography==3.4.7',
],
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
'dev': dev_require + tests_require + docs_require,
'docs': docs_require,
},
)