py-libp2p/setup.py
mhchia 0188985918
Change packages in setup
Previously, only the top level `libp2p` is included.
This left only `__init__.py` in the built distribution.
Use `setuptools.find_packages` with `exclude` instead, to avoid tiringly
list all of the subpackages.
2019-07-09 23:29:03 +08:00

32 lines
672 B
Python

import setuptools
classifiers = [
f"Programming Language :: Python :: {version}"
for version in ["3.7"]
]
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",
"click",
"base58",
"pymultihash",
"multiaddr==0.0.4",
"rpcudp",
"grpcio",
"grpcio-tools",
"lru-dict>=1.1.6",
"aio_timers"
],
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
zip_safe=False,
)