Makefile
raw| 1 | VERSION=$(shell python3 -c "import mpi4py_fft; print(mpi4py_fft.__version__)") |
| 2 | |
| 3 | default: |
| 4 | python setup.py build build_ext -i |
| 5 | |
| 6 | pip: |
| 7 | rm -f dist/* |
| 8 | python setup.py sdist |
| 9 | twine upload dist/* |
| 10 | |
| 11 | tag: |
| 12 | git tag $(VERSION) |
| 13 | git push --tags |
| 14 | |
| 15 | publish: tag pip |
| 16 | |
| 17 | clean: |
| 18 | git clean -dxf mpi4py_fft |
| 19 | cd docs && make clean && cd .. |
| 20 | @rm -rf *.egg-info/ build/ dist/ .eggs/ |