forked from joeblackwaslike/coinaddr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (63 loc) · 2.05 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
import re
from setuptools import setup, find_packages
with open('coinaddr/__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='coinaddr',
version=version,
description='A crypto-currency address inspection/validation library.',
long_description=long_description,
keywords=[
'bitcoin',
'litecoin',
'altcoin',
'ethereum',
'address',
'validation',
'inspection',
],
author='Joe Black',
author_email='[email protected]',
maintainer='Joe Black',
maintainer_email='[email protected]',
url='https://github.com/joeblackwaslike/coinaddr',
download_url=(
'https://github.com/joeblackwaslike/coinaddr/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'
],
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 :: Only',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development',
'Topic :: Security :: Cryptography',
'Topic :: Text Processing',
'Topic :: Utilities',
"Topic :: Software Development :: Libraries :: Python Modules",
]
)