update readme, ignore some file to git, and adding python wheel universal

This commit is contained in:
AleaJactaEst 2018-02-05 23:10:00 +01:00
parent 6fb64b384f
commit 18f69062fa
3 changed files with 30 additions and 2 deletions

6
.gitignore vendored
View file

@ -1,5 +1,7 @@
.coverage .coverage
.pybuild/ .pybuild/
build/
dist/
debian/debhelper-build-stamp debian/debhelper-build-stamp
debian/files debian/files
debian/python3-opennel-pymanager.debhelper.log 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.substvars
debian/python3-opennel-pymanager/ debian/python3-opennel-pymanager/
docs/build/ docs/build/
docs/coverage/
htmlcov/ htmlcov/
pymanager.egg-info/ pymanager.egg-info/
pymanager/__pycache__/ pymanager/__pycache__/
tests/__pycache__/
*.pyc

View file

@ -22,6 +22,27 @@ Prepare our environment
cd opennel-pymanager cd opennel-pymanager
make 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 # Test
cd opennel-pymanager cd opennel-pymanager
@ -32,7 +53,7 @@ Prepare our environment
cd opennel-pymanager cd opennel-pymanager
make coverage make coverage
# result at # result at
ls htmlcov/ ls docs/coverage/
# Generate Html Documentation : # Generate Html Documentation :

View file

@ -8,3 +8,6 @@ max-line-length = 300
# option for pycodestyle (check code style python) - replace pep8 # option for pycodestyle (check code style python) - replace pep8
[pycodestyle] [pycodestyle]
max-line-length = 300 max-line-length = 300
[bdist_wheel]
universal=1