forked from LBRYCommunity/lbry-sdk
f9ff3e5d14
* Removes mock from setup.py dependencies * Refactors name resetTime to reset_time * Replaces import mock with built-in unittest.mock * Refactors imports to separate built-in, external, and project modules
55 lines
1.3 KiB
Python
55 lines
1.3 KiB
Python
import os
|
|
from lbrynet import __name__, __version__
|
|
from setuptools import setup, find_packages
|
|
|
|
BASE = os.path.dirname(__file__)
|
|
README_PATH = os.path.join(BASE, 'README.md')
|
|
|
|
setup(
|
|
name=__name__,
|
|
version=__version__,
|
|
author="LBRY Inc.",
|
|
author_email="hello@lbry.io",
|
|
url="https://lbry.io",
|
|
description="A decentralized media library and marketplace",
|
|
long_description=open(README_PATH, encoding='utf-8').read(),
|
|
long_description_content_type="text/markdown",
|
|
keywords="lbry protocol media",
|
|
license='MIT',
|
|
python_requires='>=3.6',
|
|
packages=find_packages(exclude=('tests',)),
|
|
zip_safe=False,
|
|
entry_points={
|
|
'console_scripts': 'lbrynet=lbrynet.extras.cli:main'
|
|
},
|
|
install_requires=[
|
|
'aiohttp',
|
|
'aioupnp',
|
|
'twisted[tls]==18.7.0',
|
|
'appdirs',
|
|
'distro',
|
|
'base58==1.0.0',
|
|
'envparse',
|
|
'jsonrpc',
|
|
'cryptography',
|
|
'protobuf==3.6.1',
|
|
'msgpack',
|
|
'jsonschema',
|
|
'ecdsa',
|
|
'torba',
|
|
'pyyaml',
|
|
'requests',
|
|
'txJSON-RPC',
|
|
'treq',
|
|
'docopt',
|
|
'colorama==0.3.7',
|
|
],
|
|
extras_require={
|
|
'test': (
|
|
'faker==0.8.17',
|
|
'pytest',
|
|
'pytest-asyncio',
|
|
'pytest-xprocess',
|
|
)
|
|
}
|
|
)
|