From 18f69062fad17b88d1537d66cda230a9c7e0dbaa Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Mon, 5 Feb 2018 23:10:00 +0100 Subject: [PATCH] update readme, ignore some file to git, and adding python wheel universal --- .gitignore | 6 +++++- README.md | 23 ++++++++++++++++++++++- setup.cfg | 3 +++ 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 26ee4e8..d1add09 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ .coverage .pybuild/ +build/ +dist/ debian/debhelper-build-stamp debian/files debian/python3-opennel-pymanager.debhelper.log @@ -8,7 +10,9 @@ debian/python3-opennel-pymanager.prerm.debhelper debian/python3-opennel-pymanager.substvars debian/python3-opennel-pymanager/ docs/build/ +docs/coverage/ htmlcov/ pymanager.egg-info/ pymanager/__pycache__/ - +tests/__pycache__/ +*.pyc diff --git a/README.md b/README.md index e8de064..f9c642e 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,27 @@ Prepare our environment cd opennel-pymanager make +# Source package + + cd opennel-pymanager + make sdist + # result at + ls dist/pymanager-*.tar.gz + +# Python package + + cd opennel-pymanager + make bdist + # result at + ls dist/pymanager-*.tar.gz + +# Wheel package + + cd opennel-pymanager + make bdist_wheel + # result at + ls dist/pymanager-*.whl + # Test cd opennel-pymanager @@ -32,7 +53,7 @@ Prepare our environment cd opennel-pymanager make coverage # result at - ls htmlcov/ + ls docs/coverage/ # Generate Html Documentation : diff --git a/setup.cfg b/setup.cfg index 2a83be7..43122b1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,3 +8,6 @@ max-line-length = 300 # option for pycodestyle (check code style python) - replace pep8 [pycodestyle] max-line-length = 300 + +[bdist_wheel] +universal=1