2019-01-10 01:57:41 +08:00
|
|
|
import setuptools
|
|
|
|
|
|
|
|
|
2019-08-01 06:00:12 +08:00
|
|
|
classifiers = [f"Programming Language :: Python :: {version}" for version in ["3.7"]]
|
2019-01-10 01:57:41 +08:00
|
|
|
|
|
|
|
|
2019-07-24 15:54:30 +08:00
|
|
|
# pylint: disable=invalid-name
|
|
|
|
extras_require = {
|
|
|
|
"test": [
|
2019-07-24 16:34:55 +08:00
|
|
|
"codecov>=2.0.15,<3.0.0",
|
|
|
|
"pytest>=4.6.3,<5.0.0",
|
|
|
|
"pytest-cov>=2.7.1,<3.0.0",
|
|
|
|
"pytest-asyncio>=0.10.0,<1.0.0",
|
2019-07-24 15:54:30 +08:00
|
|
|
],
|
2019-08-01 06:12:34 +08:00
|
|
|
"lint": ["mypy>=0.701,<1.0", "black==19.3b0"],
|
2019-08-01 06:00:12 +08:00
|
|
|
"dev": ["tox>=3.13.2,<4.0.0"],
|
2019-07-24 15:54:30 +08:00
|
|
|
}
|
|
|
|
|
2019-08-01 06:00:12 +08:00
|
|
|
extras_require["dev"] = (
|
|
|
|
extras_require["test"] + extras_require["lint"] + extras_require["dev"]
|
|
|
|
)
|
2019-07-24 15:54:30 +08:00
|
|
|
|
|
|
|
|
2019-01-10 01:57:41 +08:00
|
|
|
setuptools.setup(
|
|
|
|
name="libp2p",
|
|
|
|
description="libp2p implementation written in python",
|
|
|
|
version="0.0.1",
|
2019-01-10 02:38:56 +08:00
|
|
|
license="MIT/APACHE2.0",
|
2019-01-10 01:57:41 +08:00
|
|
|
platforms=["unix", "linux", "osx"],
|
|
|
|
classifiers=classifiers,
|
|
|
|
install_requires=[
|
2019-07-08 16:14:49 +08:00
|
|
|
"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",
|
|
|
|
"grpcio>=1.21.1,<2.0.0",
|
|
|
|
"grpcio-tools>=1.21.1,<2.0.0",
|
2019-05-07 11:44:13 +08:00
|
|
|
"lru-dict>=1.1.6",
|
2019-01-10 01:57:41 +08:00
|
|
|
],
|
2019-07-24 15:54:30 +08:00
|
|
|
extras_require=extras_require,
|
2019-07-09 23:29:03 +08:00
|
|
|
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
|
2019-01-10 01:57:41 +08:00
|
|
|
zip_safe=False,
|
|
|
|
)
|