Makefile 508 B

123456789101112131415161718192021
  1. PYTHON ?= python
  2. clean:
  3. $(PYTHON) setup.py clean
  4. rm -rf dist build bin docs/build docs/source/generated *.egg-info
  5. -find . -name '*.pyc' -delete
  6. -find . -name '__pycache__' -type d -delete
  7. release-pypi:
  8. # avoid upload of stale builds
  9. test ! -e dist
  10. $(PYTHON) setup.py sdist bdist_wheel
  11. twine upload dist/*
  12. update-buildsupport:
  13. git subtree pull \
  14. -m "Update DataLad build helper" \
  15. --squash \
  16. --prefix _datalad_buildsupport \
  17. https://github.com/datalad/datalad-buildsupport.git \
  18. master