lbry-sdk/setup.py

80 lines
2.3 KiB
Python
Raw Normal View History

import os
2019-12-31 00:47:37 +01:00
import sys
from lbry import __name__, __version__
2017-03-13 19:10:31 +01:00
from setuptools import setup, find_packages
2016-12-16 18:04:47 +01:00
BASE = os.path.dirname(__file__)
2019-12-31 00:47:37 +01:00
with open(os.path.join(BASE, 'README.md'), encoding='utf-8') as fh:
long_description = fh.read()
PLYVEL = []
if sys.platform.startswith('linux'):
PLYVEL.append('plyvel==1.3.0')
2017-01-31 20:52:43 +01:00
2017-03-13 19:10:31 +01:00
setup(
2018-10-05 16:20:32 +02:00
name=__name__,
2017-03-13 19:10:31 +01:00
version=__version__,
author="LBRY Inc.",
author_email="hello@lbry.com",
url="https://lbry.com",
2017-03-13 19:10:31 +01:00
description="A decentralized media library and marketplace",
2019-12-31 00:47:37 +01:00
long_description=long_description,
2018-10-20 14:19:06 +02:00
long_description_content_type="text/markdown",
2017-03-13 19:10:31 +01:00
keywords="lbry protocol media",
license='MIT',
2019-05-22 15:23:31 +02:00
python_requires='>=3.7',
packages=find_packages(exclude=('tests',)),
2017-03-13 19:10:31 +01:00
zip_safe=False,
entry_points={
2019-12-31 00:47:37 +01:00
'console_scripts': [
'lbrynet=lbry.extras.cli:main',
2021-03-24 21:03:57 +01:00
'lbry-hub=lbry.wallet.server.cli:main',
2019-12-31 21:38:39 +01:00
'orchstr8=lbry.wallet.orchstr8.cli:main',
2021-03-24 21:03:57 +01:00
'lbry-hub-elastic-sync=lbry.wallet.server.db.elasticsearch.sync:run_elastic_sync'
2019-12-31 00:47:37 +01:00
],
},
install_requires=[
2019-02-28 18:04:02 +01:00
'aiohttp==3.5.4',
2020-11-03 16:39:38 +01:00
'aioupnp==0.0.18',
2019-02-26 23:20:16 +01:00
'appdirs==1.4.3',
2019-02-28 18:40:11 +01:00
'certifi>=2018.11.29',
2019-02-26 23:20:16 +01:00
'colorama==0.3.7',
'distro==1.4.0',
2018-08-24 18:21:11 +02:00
'base58==1.0.0',
'cffi==1.13.2',
2019-02-26 23:20:16 +01:00
'cryptography==2.5',
2021-06-03 06:29:22 +02:00
'protobuf==3.17.2',
2019-02-26 23:20:16 +01:00
'msgpack==0.6.1',
'prometheus_client==0.7.1',
2019-10-09 03:20:34 +02:00
'ecdsa==0.13.3',
2020-07-16 17:44:26 +02:00
'pyyaml==5.3.1',
2019-02-26 23:20:16 +01:00
'docopt==0.6.2',
2019-03-24 21:55:04 +01:00
'hachoir',
'multidict==4.6.1',
2021-07-05 23:02:54 +02:00
'coincurve==15.0.0',
2019-12-31 00:47:37 +01:00
'pbkdf2==1.3',
'attrs==18.2.0',
2021-01-20 06:12:55 +01:00
'pylru==1.1.0',
'elasticsearch==7.10.1',
2021-06-03 06:29:22 +02:00
'grpcio==1.38.0'
2019-12-31 00:47:37 +01:00
] + PLYVEL,
extras_require={
'torrent': ['lbry-libtorrent'],
2021-08-21 04:42:12 +02:00
'lint': ['pylint==2.10.0'],
'test': ['coverage'],
},
2019-12-31 00:47:37 +01:00
classifiers=[
'Framework :: AsyncIO',
'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',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Distributed Computing',
'Topic :: Utilities',
],
2017-01-31 20:52:43 +01:00
)