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.
This commit is contained in:
parent
b001256f5f
commit
0188985918
6
setup.py
6
setup.py
|
@ -2,9 +2,7 @@ import setuptools
|
|||
|
||||
|
||||
classifiers = [
|
||||
(
|
||||
"Programming Language :: Python :: %s" % version
|
||||
)
|
||||
f"Programming Language :: Python :: {version}"
|
||||
for version in ["3.7"]
|
||||
]
|
||||
|
||||
|
@ -28,6 +26,6 @@ setuptools.setup(
|
|||
"lru-dict>=1.1.6",
|
||||
"aio_timers"
|
||||
],
|
||||
packages=["libp2p"],
|
||||
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
|
||||
zip_safe=False,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user