py-libp2p/setup.py
Kevin Mai-Husan Chia e9ca372fb5
Merge pull request #271 from mhchia/fix/pubsub-interop
Pubsub interop with go-libp2p-daemon
2019-09-04 22:28:14 +08:00

52 lines
1.4 KiB
Python

import setuptools
classifiers = [f"Programming Language :: Python :: {version}" for version in ["3.7"]]
extras_require = {
"test": [
"factory-boy>=2.12.0,<3.0.0",
"pytest>=4.6.3,<5.0.0",
"pytest-asyncio>=0.10.0,<1.0.0",
"pexpect>=4.6,<5",
# FIXME: Master branch. Use PyPI instead after it is released.
"p2pclient @ git+https://git@github.com/mhchia/py-libp2p-daemon-bindings@628266f",
],
"lint": [
"mypy>=0.701,<1.0",
"mypy-protobuf==1.15",
"black==19.3b0",
"isort==4.3.21",
"flake8>=3.7.7,<4.0.0",
],
"dev": ["tox>=3.13.2,<4.0.0"],
}
extras_require["dev"] = (
extras_require["test"] + extras_require["lint"] + extras_require["dev"]
)
setuptools.setup(
name="libp2p",
description="libp2p implementation written in python",
version="0.0.1",
license="MIT/APACHE2.0",
platforms=["unix", "linux", "osx"],
classifiers=classifiers,
install_requires=[
"pycryptodome>=3.8.2,<4.0.0",
"base58>=1.0.3,<2.0.0",
"pymultihash>=0.8.2",
"multiaddr>=0.0.8,<0.1.0",
"rpcudp>=3.0.0,<4.0.0",
"lru-dict>=1.1.6",
"protobuf==3.9.0",
"coincurve>=10.0.0,<11.0.0",
"fastecdsa==1.7.4",
],
extras_require=extras_require,
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
zip_safe=False,
)