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