2016-03-14 17:30:22 +01:00
|
|
|
import os
|
2019-12-31 00:47:37 +01:00
|
|
|
import sys
|
2019-06-21 03:02:58 +02:00
|
|
|
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
|
|
|
|
2018-07-27 04:04:43 +02: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()
|
|
|
|
|
2021-11-08 20:18:22 +01:00
|
|
|
|
|
|
|
ROCKSDB = []
|
|
|
|
if sys.platform.startswith('linux') or sys.platform.startswith('darwin'):
|
|
|
|
ROCKSDB.append('lbry-rocksdb==0.8.2')
|
|
|
|
|
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.",
|
2019-06-04 16:23:04 +02:00
|
|
|
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',
|
2018-07-17 05:32:37 +02:00
|
|
|
packages=find_packages(exclude=('tests',)),
|
2017-03-13 19:10:31 +01:00
|
|
|
zip_safe=False,
|
2018-07-27 04:04:43 +02:00
|
|
|
entry_points={
|
2019-12-31 00:47:37 +01:00
|
|
|
'console_scripts': [
|
|
|
|
'lbrynet=lbry.extras.cli:main',
|
2021-11-08 20:18:22 +01:00
|
|
|
'orchstr8=lbry.wallet.orchstr8.cli:main'
|
2019-12-31 00:47:37 +01:00
|
|
|
],
|
2018-07-27 04:04:43 +02:00
|
|
|
},
|
|
|
|
install_requires=[
|
2021-11-08 20:18:22 +01:00
|
|
|
'aiohttp==3.7.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',
|
2021-11-08 20:18:22 +01:00
|
|
|
'certifi>=2021.10.08',
|
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',
|
2020-02-06 02:07:06 +01:00
|
|
|
'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',
|
2020-01-13 21:52:31 +01:00
|
|
|
'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',
|
2021-11-08 20:18:22 +01:00
|
|
|
'hachoir==3.1.2',
|
2019-12-11 05:38:23 +01:00
|
|
|
'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',
|
2021-06-15 15:59:28 +02:00
|
|
|
'elasticsearch==7.10.1',
|
2022-01-13 17:26:07 +01:00
|
|
|
'grpcio==1.38.0',
|
2021-11-08 20:18:22 +01:00
|
|
|
'filetype==1.0.9',
|
|
|
|
] + ROCKSDB,
|
2021-06-15 15:59:28 +02:00
|
|
|
extras_require={
|
|
|
|
'torrent': ['lbry-libtorrent'],
|
2022-04-08 19:27:30 +02:00
|
|
|
'lint': [
|
|
|
|
'pylint==2.10.0'
|
|
|
|
],
|
2022-04-07 02:28:20 +02:00
|
|
|
'test': [
|
|
|
|
'coverage',
|
|
|
|
'jsonschema==4.4.0',
|
|
|
|
],
|
2022-05-27 15:44:54 +02:00
|
|
|
'hub': [
|
2022-06-30 18:05:46 +02:00
|
|
|
'hub@git+https://github.com/lbryio/hub.git@9e3963ba23abf2f9ace4654089a7df1fd553f121'
|
2022-04-08 19:27:30 +02:00
|
|
|
]
|
2021-06-15 15:59:28 +02:00
|
|
|
},
|
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',
|
2018-07-27 04:04:43 +02:00
|
|
|
],
|
2017-01-31 20:52:43 +01:00
|
|
|
)
|