use pypa build instead of setup.py build and move ldap to extras

This commit is contained in:
Nick Sweeting 2023-10-19 16:44:44 -07:00
parent 4b26ab9d1f
commit b6113cc00c
2 changed files with 11 additions and 5 deletions

View file

@ -25,7 +25,10 @@ cd "$REPO_DIR"
rm -Rf build dist
echo "[+] Building sdist, bdist_wheel, and egg_info"
python3 setup.py \
sdist --dist-dir=./pip_dist \
bdist_wheel --dist-dir=./pip_dist \
egg_info --egg-base=./pip_dist
# python3 setup.py \
# sdist --dist-dir=./pip_dist \
# bdist_wheel --dist-dir=./pip_dist \
# egg_info --egg-base=./pip_dist
# pip install --upgrade pip setuptools build
python -m build