-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
56 lines (49 loc) · 1.34 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
# coding=utf-8
import os
import sys
from setuptools import find_packages
from setuptools import setup
assert sys.version_info[0] == 3 and sys.version_info[1] >= 5, "steem requires Python 3.5 or newer"
def readme_file():
return 'README.rst' if os.path.exists('README.rst') else 'README.md'
# yapf: disable
setup(
name='steem',
version='0.18.95',
description='Official Python STEEM Library',
long_description=open(readme_file()).read(),
packages=find_packages(exclude=['scripts']),
setup_requires=['pytest-runner'],
tests_require=['pytest',
'pep8',
'pytest-pylint',
'yapf',
'sphinx',
'recommonmark',
'sphinxcontrib-restbuilder',
'sphinxcontrib-programoutput',
'pytest-console-scripts'],
install_requires=[
'appdirs',
'ecdsa',
'pylibscrypt',
'scrypt',
'pycrypto',
'urllib3>=1.21.1',
'certifi',
'ujson',
'w3lib',
'maya',
'toolz',
'funcy>=1.9',
'langdetect',
'diff-match-patch',
'prettytable',
'voluptuous',
],
entry_points={
'console_scripts': [
'steempy=steem.cli:legacy',
'piston=steem.cli:legacy',
]
})