PEP517 has define a standard way to do Python packaging.
Thus, we no longer require a setup.py
file (a turing complete program,
which is usually a bad idea when we only require some static information)
in project root to specify how to package the project.
- Setup a (virtual) Python environment
- Make sure the package
pep517
is availablepep517
is a reference implementation of build frontend
python -m pep517.build .
Then there will be .tar.gz
and .whl
file in dist
folder
- Setup a (virtual) Python environment
pip install .
- Require
pip
version larger then10.0
- Require