lbry-sdk/setup.py

89 lines
2.5 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()
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.",
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',
'orchstr8=lbry.wallet.orchstr8.cli:main'
2019-12-31 00:47:37 +01:00
],
},
install_requires=[
'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',
'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',
'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',
'hachoir==3.1.2',
'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',
'grpcio==1.38.0',
'filetype==1.0.9',
] + ROCKSDB,
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-04-08 19:27:30 +02:00
'scribe': [
2022-05-11 21:32:56 +02:00
'scribe @ git+https://github.com/lbryio/scribe.git@311db529a03de7fce43ed8579f51ac23a1a884ea'
2022-04-08 19:27:30 +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',
],
2017-01-31 20:52:43 +01:00
)