[Distutils] Can't upload sdist: "File already exists"

Donald Stufft donald at stufft.io
Thu Jan 5 12:58:09 EST 2017


> On Jan 5, 2017, at 12:55 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> 
> On 01/05/2017 08:46 AM, Donald Stufft wrote:
>>> On Jan 5, 2017, at 11:45 AM, Ethan Furman wrote:
> 
>>> Do I need to choose between zip and tar sdists?
>> 
>> Yes.
> 
> I haven't followed Windows O/Ses for a while now -- are they able to easily access tar files?  Or do *nix machines come standard with unzip now?
> 
> Or is it more along the lines of -- you seem to be a developer, so you should be able to install the one you need?  ;)
> 
> --
> ~Ethan~
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig


.tar.gz is the recommended format but either one is OK. I think that there is still the default tool disparity but getting a tool to open either one is fairly trivial, particularly since you can do ``python3 -m tarfile -e foobar-1.0.tar.gz. That being said, non-automated downloads account for a tiny fraction of the total downloads on PyPI so I wouldn’t worry too much about that use case in general.

—
Donald Stufft



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170105/7f65e249/attachment.html>


More information about the Distutils-SIG mailing list