As a beginner in packaging a module containing an extension module, it doesn’t work the first time.
I must try different setup.cfg and setup.py parameters. Uploading the tar.gz file generated by “python3 -m build” to test.pypi.org is annoying because it requires to change the version at each upload and it slows the testing process.
Is it possible to do a pip install by specifying the local tar.gz file to use to test if building and installation works ?
What command should I use ? I couldn’t find an example in the documentation.
What command should I use to fully remove the package (and cache if any) so that I can retry the pip install with a new version of the tar.gz file ?