lbry-sdk/setup.py

69 lines
2 KiB
Python
Raw Normal View History

2018-10-20 14:35:28 +02:00
import os
2018-11-29 22:28:32 +01:00
import sys
2018-05-25 08:03:25 +02:00
from setuptools import setup, find_packages
2018-05-25 19:19:54 +02:00
import torba
2018-05-25 08:03:25 +02:00
BASE = os.path.dirname(__file__)
with open(os.path.join(BASE, 'README.md'), encoding='utf-8') as fh:
long_description = fh.read()
2018-11-29 22:28:32 +01:00
REQUIRES = [
2019-02-26 21:43:20 +01:00
'aiohttp==3.4.4', # more recent version of aiohttp break with pylint/astroid
2019-02-26 21:33:14 +01:00
'cffi==1.12.1', # TODO: 1.12.2 fails on travis in wine
'coincurve==11.0.0',
'pbkdf2==1.3',
'cryptography==2.5',
'attrs==18.2.0',
'pylru==1.1.0'
2018-11-29 22:28:32 +01:00
]
2019-02-23 01:25:27 +01:00
if sys.platform.startswith('linux'):
2019-02-26 21:33:14 +01:00
REQUIRES.append('plyvel==1.0.5')
2018-11-29 22:28:32 +01:00
2018-05-25 08:03:25 +02:00
setup(
name='torba',
2018-05-25 19:19:54 +02:00
version=torba.__version__,
2018-05-25 08:03:25 +02:00
url='https://github.com/lbryio/torba',
license='MIT',
author='LBRY Inc.',
author_email='hello@lbry.io',
description='Wallet client/server framework for bitcoin based currencies.',
long_description=long_description,
2018-10-20 14:35:28 +02:00
long_description_content_type="text/markdown",
keywords='wallet,crypto,currency,money,bitcoin,electrum,electrumx',
2018-11-04 07:04:14 +01:00
classifiers=[
2018-10-15 06:04:25 +02:00
'Framework :: AsyncIO',
2018-05-25 08:03:25 +02:00
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'Topic :: Internet',
'Topic :: Software Development :: Testing',
2018-05-25 08:03:25 +02:00
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Benchmark',
2018-05-25 08:03:25 +02:00
'Topic :: System :: Distributed Computing',
'Topic :: Utilities',
2018-11-04 07:04:14 +01:00
],
2018-05-25 08:03:25 +02:00
packages=find_packages(exclude=('tests',)),
2018-11-30 16:40:03 +01:00
python_requires='>=3.6',
2018-11-29 22:28:32 +01:00
install_requires=REQUIRES,
2018-05-25 08:03:25 +02:00
extras_require={
'gui': (
2018-11-04 06:55:50 +01:00
'pyside2',
)
},
2018-11-04 06:55:50 +01:00
entry_points={
'console_scripts': [
'torba-client=torba.client.cli:main',
'torba-server=torba.server.cli:main',
'orchstr8=torba.orchstr8.cli:main',
2018-11-04 06:55:50 +01:00
],
'gui_scripts': [
'torba=torba.ui:main [gui]',
'torba-workbench=torba.workbench:main [gui]',
2018-11-04 06:55:50 +01:00
]
}
2018-05-25 08:03:25 +02:00
)