Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
.PHONY: all dist install upload clean test check lint |
| 2 |
|
| 3 |
all: |
| 4 |
@echo "targets include dist, upload, install, clean, test, lint" |
| 5 |
|
| 6 |
dist: |
| 7 |
python setup.py sdist bdist_wheel |
| 8 |
@echo "Look in the dist/ directory" |
| 9 |
|
| 10 |
upload: dist |
| 11 |
@echo "Uploading to Pypi using twine...." |
| 12 |
twine upload dist/* |
| 13 |
|
| 14 |
install: |
| 15 |
python setup.py install |
| 16 |
|
| 17 |
test: |
| 18 |
PYTHONPATH=. pytest -v tests |
| 19 |
|
| 20 |
lint: |
| 21 |
pycodestyle |
| 22 |
|
| 23 |
clean: |
| 24 |
@echo "Cleaning up..." |
| 25 |
find . -name __pycache__ -print0 | xargs -0 rm -rf |
| 26 |
find . -name \*_log -print0 | xargs -0 rm -f |
| 27 |
find . -name \*.log -print0 | xargs -0 rm -f |
| 28 |
find . -name \*.pyo -print0 | xargs -0 rm -f |
| 29 |
find . -name \*.pyc -print0 | xargs -0 rm -f |
| 30 |
find . -name \*.class -print0 | xargs -0 rm -f |
| 31 |
find . -name \*.DS_Store -print0 | xargs -0 rm -f |
| 32 |
find . -name TEST-*.xml -print0 | xargs -0 rm -f |
| 33 |
find . -name TestResult.xml -print0 | xargs -0 rm -f |
| 34 |
rm -f MANIFEST |
| 35 |
rm -rf build |
| 36 |
rm -rf dotnet/Serpent/obj dotnet/Serpent.Test/obj |
| 37 |
rm -rf dotnet/Serpent/bin dotnet/Serpent.Test/bin |
| 38 |
find . -name '.#*' -print0 | xargs -0 rm -f |
| 39 |
find . -name '#*#' -print0 | xargs -0 rm -f |
| 40 |
@echo "clean!" |