-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.py
62 lines (54 loc) · 1.82 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from setuptools import setup, find_packages
import os
import io
homepage = 'https://github.com/fmerg/pymerkle'
version = '6.1.0'
current_dir = os.path.abspath(os.path.dirname(__file__))
try:
with io.open(os.path.join(current_dir, 'requirements.txt'),
encoding='utf-8') as f:
install_requires = [_.strip() for _ in f.readlines()]
except FileNotFoundError:
install_requires = [
'cachetools==5.3.1'
]
with open('README.md', 'r') as f:
long_description = f.read()
def main():
setup(
name='pymerkle',
version=version,
description='Merkle-tree cryptography in python',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(exclude=['tests']),
# package_dir={'': 'pymerkle'},
url=homepage,
project_urls={
'github': homepage,
'source': '%s/%s' % (homepage, 'tree/master/%s' % 'pymerkle'),
'docs': 'https://%s.readthedocs.io/en/latest/' % version,
},
author='fmerg',
author_email='[email protected]',
python_requires='>=3.6',
install_requires=install_requires,
zip_safe=False,
keywords=[
'merkle', 'proof', 'inclusion', 'consistency',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.6',
'Operating System :: POSIX',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)'
],
)
if __name__ == '__main__':
main()