forked from ranaroussi/pywallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (52 loc) · 1.83 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open
from os import path
import re
# Get the long description from the README file
with open(path.join('README.rst'), encoding='utf-8') as f:
long_description = f.read()
def load_version():
version_file = "pywallet/_version.py"
version_line = open(version_file).read().rstrip()
vre = re.compile(r'__version__ = "([^"]+)"')
matches = vre.findall(version_line)
if matches and len(matches) > 0:
return matches[0]
else:
raise RuntimeError(
"Cannot find version string in {version_file}.".format(
version_file=version_file))
version = load_version()
setup(
name='pywallet',
version=version,
description="Simple BIP32 (HD) wallet creation for BTC, BTG, BCH, LTC, DASH, USDT, QTUM and DOGE",
long_description=long_description,
url='https://github.com/ranaroussi/pywallet',
author='Ran Aroussi',
author_email='[email protected]',
license='MIT License',
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
platforms = ['any'],
keywords='bitcoin, wallet, litecoin, hd-wallet, dogecoin, dashcoin, python',
packages = find_packages(exclude=['contrib', 'docs', 'tests', 'demo', 'demos', 'examples']),
package_data={'': ['AUTHORS', 'LICENSE']},
install_requires=[
'base58>=0.2.2',
'ecdsa>=0.11',
'six>=1.8.0',
'two1>=3.10.8',
'pycryptodome>=3.6.6',
]
)