On Sun, Jul 14, 2013 at 3:32 PM, Ondřej Čertík <[email protected]> wrote: > On Sun, Jul 14, 2013 at 12:59 PM, Aaron Meurer <[email protected]> wrote: >> Does anyone know how to do setup.py upload from a file? The way to do it in >> the distutils documentation is to do >> >> setup.py sdist upload >> >> i.e., to create the tarball and upload it in the same command. But as part >> of our release process, I want to separate these two things. I'd prefer to >> not recreate the tarball, because that changes the md5 hash (and anyway, the >> whole point is that I want to create the tarball, test it, and then upload >> it to PyPI). > > In the past I have done exactly this, then went to pypi, removed the > generated tarball > and uploaded our own tarball, so all md5 agree. Ugly, but it does the job.
I don't particularly care if it's ugly, but I want the whole thing to be automated. If I have to reupload by hand, I might as well just upload by hand in the first place. I'm even fine with just creating a script that uses the upload form on the webpage if it gets the job done. Aaron Meurer > > Ondrej > >> >> I also asked this at http://stackoverflow.com/q/17633633/161801. >> >> By the way, this is currently the only blocker for SymPy 0.7.3, which has >> already been tagged, and is otherwise ready to go. >> >> Aaron Meurer >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/sympy. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
