* version 1.2.10
* makefile: versioning and tags: properly deal with multiple digits version tags * setup.py: support both sdist and bdist pip wheels
This commit is contained in:
12
pip/makefile
12
pip/makefile
@@ -2,15 +2,23 @@
|
||||
|
||||
SHELL := /bin/bash
|
||||
|
||||
publish: sdist upload
|
||||
publish-source: sdist upload
|
||||
publish-binary: bdist upload
|
||||
|
||||
sdist: ../cython/py_imc_termite.pyx ../cython/imc_termite.pxd ../cython/py_imc_termite.cpp
|
||||
prepdist: ../cython/py_imc_termite.pyx ../cython/imc_termite.pxd ../cython/py_imc_termite.cpp
|
||||
cp -v $? ./
|
||||
cp -v $(shell ls ../lib/imc_*.hpp) ./
|
||||
tail -n 212 ../README.md > ./README.md
|
||||
cp -v ../LICENSE ./
|
||||
|
||||
sdist: prepdist
|
||||
python3 setup.py sdist
|
||||
|
||||
# TODO use manylinux wheel to avoid ERROR "unsupported platform tag 'linux_x86_64'"
|
||||
# see: - https://github.com/pypa/manylinux
|
||||
bdist: prepdist
|
||||
python3 setup.py bdist_wheel
|
||||
|
||||
# authentication:
|
||||
# - username: __token__
|
||||
# - password: <token value including pypi-prefix>
|
||||
|
Reference in New Issue
Block a user