gitignore: add pip files, pip: add proper README

This commit is contained in:
Mario Fink 2021-03-04 18:48:59 +01:00
parent c281aeae19
commit ea7ab9fa85
2 changed files with 10 additions and 1 deletions

9
.gitignore vendored
View File

@ -20,3 +20,12 @@ cython/*.cpp
*.parquet *.parquet
src/*.cpp.cpp src/*.cpp.cpp
pip/*.cpp
pip/*.hpp
pip/*.pyx
pip/*.pxd
pip/README.md
pip/LICENSE
pip/*egg-info
pip/dist/

View File

@ -7,7 +7,7 @@ publish: sdist upload
sdist: ../cython/py_imc_termite.pyx ../cython/imc_termite.pxd ../cython/py_imc_termite.cpp sdist: ../cython/py_imc_termite.pyx ../cython/imc_termite.pxd ../cython/py_imc_termite.cpp
cp -v $? ./ cp -v $? ./
cp -v $(shell ls ../lib/imc_*.hpp) ./ cp -v $(shell ls ../lib/imc_*.hpp) ./
tail -n $(($(cat README.md | wc -l)-10)) README.md > ./README.md tail -n 212 ../README.md > ./README.md
cp -v ../LICENSE ./ cp -v ../LICENSE ./
python3 setup.py sdist python3 setup.py sdist