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
|
|
|
|
2018-11-03 23:50:34 +01: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 = [
|
|
|
|
'aiohttp',
|
|
|
|
'coincurve',
|
|
|
|
'pbkdf2',
|
|
|
|
'cryptography',
|
|
|
|
'attrs',
|
|
|
|
'pylru'
|
|
|
|
]
|
2019-02-23 01:25:27 +01:00
|
|
|
if sys.platform.startswith('linux'):
|
|
|
|
REQUIRES.append('plyvel')
|
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',
|
2018-11-03 23:50:34 +01:00
|
|
|
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",
|
2018-11-03 23:50:34 +01:00
|
|
|
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',
|
2018-11-03 23:50:34 +01:00
|
|
|
'Topic :: Software Development :: Testing',
|
2018-05-25 08:03:25 +02:00
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
2018-11-03 23:50:34 +01:00
|
|
|
'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={
|
2018-11-21 04:57:59 +01:00
|
|
|
'gui': (
|
2018-11-04 06:55:50 +01:00
|
|
|
'pyside2',
|
|
|
|
)
|
2018-11-03 23:50:34 +01:00
|
|
|
},
|
2018-11-04 06:55:50 +01:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'torba-client=torba.client.cli:main',
|
2018-11-21 04:57:59 +01:00
|
|
|
'torba-server=torba.server.cli:main',
|
|
|
|
'orchstr8=torba.orchstr8.cli:main',
|
2018-11-04 06:55:50 +01:00
|
|
|
],
|
|
|
|
'gui_scripts': [
|
2018-11-21 04:57:59 +01:00
|
|
|
'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
|
|
|
)
|