lbry-sdk/setup.py

63 lines
1.4 KiB
Python
Raw Normal View History

import os
2018-10-05 16:20:32 +02:00
from lbrynet 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__)
README_PATH = os.path.join(BASE, 'README.md')
2017-01-31 20:52:43 +01:00
SERVER_REQUIRES = (
'msgpack',
'torba[server]',
)
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.io",
url="https://lbry.io",
description="A decentralized media library and marketplace",
2018-10-20 14:19:06 +02:00
long_description=open(README_PATH, encoding='utf-8').read(),
long_description_content_type="text/markdown",
2017-03-13 19:10:31 +01:00
keywords="lbry protocol media",
license='MIT',
python_requires='>=3.6',
packages=find_packages(exclude=('tests',)),
2017-03-13 19:10:31 +01:00
zip_safe=False,
entry_points={
'console_scripts': 'lbrynet=lbrynet.cli:main'
},
install_requires=[
'aiohttp',
2018-10-17 16:57:10 +02:00
'aioupnp',
2018-08-24 18:21:11 +02:00
'twisted[tls]==18.7.0',
'appdirs',
'distro',
2018-08-24 18:21:11 +02:00
'base58==1.0.0',
'envparse',
'jsonrpc',
'cryptography',
2018-11-04 09:45:58 +01:00
'protobuf',
'jsonschema',
'ecdsa',
'torba',
'pyyaml',
'requests',
'txJSON-RPC',
'treq',
'docopt',
'colorama==0.3.7',
'six'
],
2018-07-07 00:31:35 +02:00
extras_require={
'wallet-server': SERVER_REQUIRES,
2018-07-07 00:31:35 +02:00
'test': (
'mock>=2.0,<3.0',
2018-08-24 18:21:11 +02:00
'faker==0.8.17',
'pytest',
'pytest-asyncio',
'pytest-xprocess',
) + SERVER_REQUIRES,
2018-07-07 00:31:35 +02:00
}
2017-01-31 20:52:43 +01:00
)