What's the magic "python setup.py some_incantation_here
" command to upload a package to PyPI, in a form that can be downloaded to get the original package in its original form?
I have a package with some source and a few image files (as package_data). If I do "setup.py sdist register upload
", the .tar.gz has the image files excluded. If I do "setup.py bdist_egg register upload
", the egg contains the images but excludes the setup.py file. I want to be able to get a file uploaded that is just the entirety of my project -- aka "setup.py the_whole_freaking_thing register upload
".
Perhaps the best way to do this is to manually tar.gz my project directory and upload it using the PyPI web interface?
Caveat: I'm trying to avoid having to store a simple project I just created in my SVN repo as well as on PyPI -- it seems like a waste of work to keep track of its history and files in two places.
Thanks in advance.