public release 0.5.0 for Python Package Index
This commit is contained in:
parent
62239e2aeb
commit
1be064b4f7
@ -1,6 +1,6 @@
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/RecordEvolution/tdm_ripper.git">
|
||||
<a href="https://github.com/RecordEvolution/TDMtermite.git">
|
||||
<img
|
||||
alt="tdmtermite.svg"
|
||||
src="assets/tdmtermite.svg"
|
||||
|
12
makefile
12
makefile
@ -108,7 +108,17 @@ docker-clean:
|
||||
docker image remove tdmtermite
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
# pip
|
||||
|
||||
clean : cpp-clean cython-clean
|
||||
pip-publish: cython-build
|
||||
cd pip/ && make pip-publish
|
||||
|
||||
pip-test:
|
||||
cd pip/ && make pip-test
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
|
||||
clean : cpp-clean cython-clean
|
||||
cd pip/ && make pip-clean
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
|
@ -7,8 +7,9 @@ RUN DEBIAN_FRONTEND=noninteractive \
|
||||
python3-pip \
|
||||
python3-setuptools
|
||||
|
||||
RUN python3 -m pip install -i https://test.pypi.org/simple/ TDMtermite-RecordEvolution==0.6.7 && \
|
||||
python3 -m pip install --upgrade TDMtermite-RecordEvolution
|
||||
# RUN python3 -m pip install -i https://test.pypi.org/simple/ TDMtermite-RecordEvolution==0.6.7 && \
|
||||
# python3 -m pip install --upgrade TDMtermite-RecordEvolution
|
||||
RUN python3 -m pip install TDMtermite
|
||||
|
||||
# CMD ["sleep","3600"]
|
||||
CMD ["python3","-m","pip","freeze"]
|
||||
|
10
pip/makefile
10
pip/makefile
@ -7,7 +7,8 @@ pip-sdist: ../cython/py_tdm_termite.pyx ../cython/tdm_termite.pxd ../cython/py_t
|
||||
cp -v ../cython/py_tdm_termite.cpp ./
|
||||
cp -v ../lib/*.hpp ../lib/*.cpp ./
|
||||
cp -v ../3rdparty/pugixml/* ./
|
||||
cp -v ../README.md ./
|
||||
cat ../README.md | head -n316 | tail -n306 > ./README.md
|
||||
cp -v ../LICENSE ./
|
||||
# cython py_tdm_termite.pyx -o py_tdm_termite.cpp
|
||||
python3 setup.py sdist
|
||||
|
||||
@ -34,9 +35,12 @@ pip-audit:
|
||||
# username: __token__
|
||||
# password: API-token including "pypi-"
|
||||
# !! RUN AS ROOT!! (only for bdist_wheel + auditwheel)
|
||||
pip-upload:
|
||||
pip-upload-test:
|
||||
python3 -m twine upload --repository testpypi dist/$(shell ls -t dist/ | head -n1)
|
||||
|
||||
pip-upload:
|
||||
python3 -m twine upload dist/$(shell ls -t dist/ | head -n1)
|
||||
|
||||
pip-test-install:
|
||||
python3 -m pip install --index-url https://test.pypi.org/simple --no-deps TDMtermite-RecordEvolution
|
||||
# python3 -m pip install -i https://test.pypi.org/simple/ TDMtermite-RecordEvolution==0.5
|
||||
@ -53,6 +57,6 @@ pip-clean:
|
||||
rm -rvf wheelhouse/
|
||||
rm -vf *.pyx *.pxd
|
||||
rm -vf *.cpp *.c *.hpp
|
||||
rm -vf README.md
|
||||
rm -vf README.md LICENSE
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
|
@ -6,8 +6,8 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
setup(
|
||||
name="TDMtermite-RecordEvolution",
|
||||
version="0.6.7", #version,
|
||||
name="TDMtermite",
|
||||
version="0.5.0", #version,
|
||||
author="Record Evolution GmbH",
|
||||
author_email="mario.fink@record-evolution.de",
|
||||
maintainer="Record Evolution GmbH",
|
||||
|
Loading…
x
Reference in New Issue
Block a user