mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-19 20:33:21 +00:00
27 lines
418 B
Makefile
27 lines
418 B
Makefile
package: clean
|
|
python setup.py sdist
|
|
|
|
publish: package
|
|
twine upload dist/*
|
|
|
|
clean:
|
|
rm -rf CHIP_IO.* build dist
|
|
rm -f *.pyo *.pyc
|
|
rm -f *.egg
|
|
rm -f overlays/*.pyo overlays/*.pyc
|
|
rm -rf __pycache__
|
|
rm -rf debian/python-chip-io*
|
|
rm -rf debian/python3-chip-io*
|
|
|
|
tests:
|
|
py.test
|
|
|
|
build:
|
|
python setup.py build --force
|
|
|
|
install: build
|
|
python setup.py install --force
|
|
|
|
debfile:
|
|
dpkg-buildpackage -rfakeroot -uc -b
|