-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (70 loc) · 3.28 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
#!/usr/bin/env python3
#
#
# ██▓ ██▓▄▄▄█████▓▓█████▄▄▄█████▓ ▒█████ ██ ▄█▀▓█████ ███▄ █ ██████
# ▓██▒ ▓██▒▓ ██▒ ▓▒▓█ ▀▓ ██▒ ▓▒▒██▒ ██▒ ██▄█▒ ▓█ ▀ ██ ▀█ █ ▒██ ▒
# ▒██░ ▒██▒▒ ▓██░ ▒░▒███ ▒ ▓██░ ▒░▒██░ ██▒▓███▄░ ▒███ ▓██ ▀█ ██▒░ ▓██▄
# ▒██░ ░██░░ ▓██▓ ░ ▒▓█ ▄░ ▓██▓ ░ ▒██ ██░▓██ █▄ ▒▓█ ▄ ▓██▒ ▐▌██▒ ▒ ██▒
# ░██████▒░██░ ▒██▒ ░ ░▒████▒ ▒██▒ ░ ░ ████▓▒░▒██▒ █▄░▒████▒▒██░ ▓██░▒██████▒▒
# ░ ▒░▓ ░░▓ ▒ ░░ ░░ ▒░ ░ ▒ ░░ ░ ▒░▒░▒░ ▒ ▒▒ ▓▒░░ ▒░ ░░ ▒░ ▒ ▒ ▒ ▒▓▒ ▒ ░
# ░ ░ ▒ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ▒ ▒░ ░ ░▒ ▒░ ░ ░ ░░ ░░ ░ ▒░░ ░▒ ░ ░
# ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░░ ░ ░ ░ ░ ░ ░ ░ ░
# ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
#
#
"""The setup.py file for Litetokens CLI."""
import sys
from setuptools import setup, find_packages
def cat(files, join_str=''):
"""Concatenate `files` content with `join_str` between them."""
files_content = (open(f).read() for f in files)
return join_str.join(files_content)
PKG_NAME = 'litetokenscli'
PKG_AUTHOR = ', '.join(['Weiyu X'])
PKG_SCRIPTS = ['litetokens-cli']
PKG_VERSION = '0.1.4'
PKG_REQUIRES = [
'bleach==3.0.2',
'cbox==0.5.0',
'certifi==2018.10.15',
'chardet==3.0.4',
'colorama==0.4.0',
'docutils==0.14',
'idna==2.7',
'pkginfo==1.4.2',
'psutil==5.4.7',
'Pygments==2.2.0',
'readme-renderer==24.0',
'requests==2.20.0',
'requests-toolbelt==0.8.0',
'six==1.11.0',
'tqdm==4.28.1',
'litetokenscli==0.1.3',
'twine==1.12.1',
'urllib3==1.24',
'webencodings==0.5.1'
]
PKG_DESC = 'A command line tool to monitor and manage litetokens nodes.'
PKG_LONG_DESC = cat(['README.md', 'CHANGELOG.md'], u'\n\n')
setup(
name=PKG_NAME,
version=PKG_VERSION,
author=PKG_AUTHOR,
author_email='weiyu@litetokens.network',
description=PKG_DESC,
long_description=PKG_LONG_DESC,
long_description_content_type='text/markdown',
url='https://github.com/litetokensprotocol/litetokens-cli',
packages=find_packages(),
zip_safe=False,
scripts=PKG_SCRIPTS,
classifiers=[
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
install_requires=PKG_REQUIRES,
)