Last active
May 5, 2022 13:01
-
-
Save verdimrc/d4e6712d04ff0285f101f985df960843 to your computer and use it in GitHub Desktop.
python wheel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# No isolation: don't build on a venv (because requirements*txt may be missing). | |
pip install build setupext-janitor | |
python3 -m build --wheel --no-isolation | |
# Optional: remove build artifacts ONLY. | |
VIRTUAL_ENV='' python setup.py clean --all | |
# Optional: remove build artifacts PLUS the currently active virtual env. | |
python setup.py clean --all | |
################################################################################ | |
# This generates SetuptoolsDeprecatedWarning on bdist_wheel. | |
pip install wheel setupext-janitor | |
python setup.py bdist_wheel | |
python ./setup.py clean --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment