distutils - Python generate sdist and upload it in a separate step -


I am creating several Python packages and would like to upload all packages successfully created. I have a different step for each Python package, which is done for the last step of sdist where all the collected code should be uploaded to the sdist (if the build is final Step, then all the packages were created successfully).

Now, there is a way to execute Python setup.py sdist , then dragon setup.py upload [path] What do I need? Or, what's the better way to do it?

PS: I am using bamboo, if it helps.

Currently, uploads only push files that run from the same command line in comparison to uploads. Having disks are created by the sdist / bdist command, e.g. Python setup.py sdist upload . If you run sdist , then check the result, and then upload sdist , the second sdist should be exactly as long as your setup.py There is no buggy, you have made changes to your files or you have a computer problem (I think until so many agree).

A move can be used to redo its other tasks again to avoid the second sdist: you can set up python setup.py sdist --keep-temp , Then you check sdist, and call you at python setup.py sdist --dry-run upload to upload.

There is an open increase request to improve it in the next feature release:

In the meantime, you can use.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -