* github workflow: add checkout step and use makefile target for file

setup
* add README.rst to gitignore
* makefile: validate wheels, run python example, add README.rst option
* usage.py: fix output directory and simplify for loop
* setup.py: remove unused os module
* setup.cfg: syntax fix
This commit is contained in:
2021-09-22 11:20:28 +02:00
parent c8bee63942
commit 770c0167af
8 changed files with 24 additions and 21 deletions

View File

@@ -1,11 +1,13 @@
setup:
cat ../README.md | grep '^# IMCtermite' -A 50000 > ./README.md
#pandoc -f markdown -t rst -o README.rst README.md
#python -m rstvalidator README.rst
cp -r ../lib ./
cp -v ../LICENSE ./
setup-clean:
rm -vf README.md LICENSE
rm -vf README.md README.rst LICENSE
rm -rf lib/
build: setup
@@ -16,9 +18,11 @@ build-inplace: setup
build-sdist: setup
python setup.py sdist
python -m twine check dist/*
build-bdist: setup
python setup.py bdist
python -m twine check dist/*
build-clean:
python setup.py clean --all