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()
|
|
|
|
|
|
|
|
PLYVEL = []
|
|
|
|
if sys.platform.startswith('linux'):
|
|
|
|
PLYVEL.append('plyvel==1.0.5')
|
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-03-15 23:14:23 +01:00
|
|
|
'hub=lbry.wallet.server.cli:main',
|
2019-12-31 21:38:39 +01:00
|
|
|
'orchstr8=lbry.wallet.orchstr8.cli:main',
|
2021-03-15 23:14:23 +01:00
|
|
|
'hub-elastic-sync=lbry.wallet.server.db.elasticsearch.sync:run_elastic_sync'
|
2019-12-31 00:47:37 +01:00
|
|
|
],
|
2018-07-27 04:04:43 +02: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',
|
2020-02-06 02:07:06 +01:00
|
|
|
'cffi==1.13.2',
|
2019-02-26 23:20:16 +01:00
|
|
|
'cryptography==2.5',
|
2018-11-06 06:05:40 +01:00
|
|
|
'protobuf==3.6.1',
|
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',
|
2019-03-24 21:55:04 +01:00
|
|
|
'hachoir',
|
2019-12-11 05:38:23 +01:00
|
|
|
'multidict==4.6.1',
|
2019-12-31 00:47:37 +01:00
|
|
|
'coincurve==11.0.0',
|
|
|
|
'pbkdf2==1.3',
|
|
|
|
'attrs==18.2.0',
|
2021-01-20 06:12:55 +01:00
|
|
|
'pylru==1.1.0',
|
|
|
|
'elasticsearch==7.10.1'
|
2019-12-31 00:47:37 +01:00
|
|
|
] + PLYVEL,
|
|
|
|
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
|
|
|
)
|