Add version info from git tags

This commit is contained in:
2023-06-23 21:30:31 -04:00
parent 2bf809c454
commit 9107474d31
4 changed files with 41 additions and 6 deletions

View File

@ -1,5 +1,3 @@
shell:
MYPYPATH=`pipenv --venv`/lib/python3.11/site-packages pipenv shell
@ -18,6 +16,7 @@ requirements.txt: Pipfile.lock
build: clean requirements.txt
python3 -m pip install -r requirements.txt --target build
cp -r mail4one/ build/
sed -i "s/DEVELOMENT/$(shell scripts/get_version.sh)/" build/mail4one/version.py
python3 -m compileall build/mail4one -f
rm -rf build/*.dist-info
python3 -m zipapp \