forked from nobitex/coinaddrvalidator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (72 loc) · 2.44 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
import re
from setuptools import setup, find_packages
with open('coinaddrvalidator/__init__.py', 'rt') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
try:
from m2r import parse_from_file
long_description = parse_from_file('README.md')
except ImportError:
with open('README.md') as fd:
long_description = fd.read()
setup(
name='coinaddrvalidator',
version=version,
description='A crypto-currency address inspection/validation library.',
long_description=long_description,
long_description_content_type='text/markdown',
keywords=[
'bitcoin',
'litecoin',
'altcoin',
'ethereum',
'address',
'validation',
'inspection',
],
author='Mohammad Aghamir',
author_email='[email protected]',
maintainer='Mohammad Aghamir',
maintainer_email='[email protected]',
url='https://github.com/nobitex/coinaddrvalid',
download_url=(
'https://github.com/nobitex/coinaddrvalid/tarball/v%s' % version),
license='MIT',
install_requires=[
'attrs>=17.4.0',
'pysha3>=1.0.2',
'base58check>=1.0.1',
'zope.interface>=4.4.3',
'blake256>=0.1.1',
'cbor>=1.0.0',
'bech32>=1.1.0',
'groestlcoin-hash2>=1.1.1'
],
zip_safe=False,
packages=find_packages(),
package_data={'': ['LICENSE']},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development',
'Topic :: Security :: Cryptography',
'Topic :: Text Processing',
'Topic :: Utilities',
"Topic :: Software Development :: Libraries :: Python Modules",
]
)