Add tool to make package for smoke test
This commit is contained in:
parent
56d3e50267
commit
444929d5fc
12
Makefile
12
Makefile
|
@ -27,7 +27,15 @@ protobufs: $(PY)
|
|||
%_pb2.py: %.proto
|
||||
protoc --python_out=. --mypy_out=. $<
|
||||
|
||||
.PHONY: clean
|
||||
clean-proto:
|
||||
rm -f $(PY) $(PYI)
|
||||
|
||||
clean:
|
||||
rm -f $(PY) $(PYI)
|
||||
find . -name '__pycache__' -exec rm -rf {} +
|
||||
rm -fr build/
|
||||
rm -fr dist/
|
||||
rm -fr *.egg-info
|
||||
|
||||
package: clean
|
||||
python setup.py sdist bdist_wheel
|
||||
python scripts/release/test_package.py
|
||||
|
|
12
setup.py
12
setup.py
|
@ -18,7 +18,14 @@ extras_require = {
|
|||
"flake8>=3.7.7,<4.0.0",
|
||||
"flake8-bugbear",
|
||||
],
|
||||
"dev": ["tox>=3.13.2,<4.0.0", "docformatter"],
|
||||
"dev": [
|
||||
"bumpversion>=0.5.3,<1",
|
||||
"docformatter",
|
||||
"setuptools>=36.2.0",
|
||||
"tox>=3.13.2,<4.0.0",
|
||||
"twine",
|
||||
"wheel",
|
||||
],
|
||||
}
|
||||
|
||||
extras_require["dev"] = (
|
||||
|
@ -30,6 +37,9 @@ setuptools.setup(
|
|||
name="libp2p",
|
||||
description="libp2p implementation written in python",
|
||||
version="0.1.2",
|
||||
maintainer="The Ethereum Foundation",
|
||||
maintainer_email="snakecharmers@ethereum.org",
|
||||
url="https://github.com/ethereum/py-libp2p",
|
||||
license="MIT/APACHE2.0",
|
||||
platforms=["unix", "linux", "osx"],
|
||||
classifiers=classifiers,
|
||||
|
|
Loading…
Reference in New Issue
Block a user