Do not build wheels and use a single dist/ directory (#11)

Only sdists are used for deployment.
This commit is contained in:
link2xt
2023-10-14 23:35:06 +00:00
committed by GitHub
parent f98f08f8f0
commit 1d7ebfa7a5
4 changed files with 8 additions and 16 deletions

View File

@@ -2,15 +2,9 @@
: ${CHATMAIL_DOMAIN:=c1.testrun.org}
export CHATMAIL_DOMAIN
pushd doveauth
venv/bin/python3 -m build
popd
pushd filtermail
venv/bin/python3 -m build
popd
venv/bin/python3 -m build --sdist doveauth --outdir dist
venv/bin/python3 -m build --sdist filtermail --outdir dist
chatmail-pyinfra/venv/bin/pyinfra --ssh-user root "$CHATMAIL_DOMAIN" deploy.py
#rm -r doveauth/dist/
#rm -r filtermail/dist/
rm -r dist/

View File

@@ -5,12 +5,11 @@ chatmail-pyinfra/venv/bin/pip install -e chatmail-pyinfra
chatmail-pyinfra/venv/bin/pip install -e doveauth
python3 -m venv doveauth/venv
doveauth/venv/bin/pip install pytest build
doveauth/venv/bin/pip install pytest
doveauth/venv/bin/pip install -e doveauth
python3 -m venv online-tests/venv
online-tests/venv/bin/pip install pytest pytest-timeout pdbpp deltachat
python3 -m venv filtermail/venv
filtermail/venv/bin/pip install build
filtermail/venv/bin/pip install -e filtermail
python3 -m venv venv
venv/bin/pip install build