-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
81 lines (73 loc) · 2.55 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
# -*- coding: utf-8 -*-
#
# Blocksmurfer
# PyPi Setup Tool
# © 2020 May - 1200 Web Development <http://1200wd.com/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from setuptools import setup
import os
here = os.path.abspath(os.path.dirname(__file__))
version = '0.0.2'
# Get the long description from the relevant file
readmetxt = ''
try:
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
readmetxt = f.read()
except:
pass
kwargs = {}
install_requires = [
'bitcoinlib>=0.6.10',
'Flask==2.3.2',
'flask_babel==3.1.0',
'flask_qrcode==3.1.0',
'flask_restful==0.3.10',
'flask_wtf==1.1.0',
'Flask-Limiter==3.3.1',
'Werkzeug==2.3.6',
'WTForms==3.0.1',
'gunicorn==20.1.0',
]
kwargs['install_requires'] = install_requires
setup(
name='blocksmurfer',
version=version,
description='Bitcoin blockchain explorer',
long_description=readmetxt,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Information Technology',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Security :: Cryptography',
'Topic :: Office/Business :: Financial :: Accounting',
],
url='http://github.com/1200wd/blocksmurfer',
author='1200wd',
author_email='[email protected]',
license='GNU3',
packages=['blocksmurfer'],
test_suite='tests',
include_package_data=True,
keywords='bitcoin blockchain explorer transactions keys blocks utxos inputs outputs scripts',
zip_safe=False,
**kwargs
)