I would like to build a python package, run tests against the build artifact and then upload the python package to a PyPI w/o re-building the package.
We are building a CI/CD pipeline and want to make sure that the exact package we built and tested is what gets published, not a re-built version after the fact.
Currently, if I run the following:
$ python setup.py egg_info -b .$BUILD_NUM sdist bdist_wheel
Then run my tests and run:
$ python setup.py egg_info -b .$BUILD_NUM sdist bdist_wheel upload
Then the timestamp on the files shows the file was re-built the second time.
Is there a way to submit the files without re-building them?