On Fri, 26 Mar 2021, at 23:04, Julian Smith wrote:
> I can't tell from pip-18.1's diagnostics what exactly is going wrong.
> 
> Given that my setup.py implements the normal distutils-style argv
> handling, i was expecting things to work, but pip-18.1 appears to fail
> before it even tries to run setup.py, so the only thing i can think of
> is that the PKG-INFO file could be causing a problem?

Looking at your package, I think the issue is that you have the files (setup.py 
etc.) in the top level of the tarball, but pip is expecting a <name>-<version> 
folder in the tarball which contains all the files.

The actual format of sdists is something that's not yet properly documented, as 
far as I know, but you can look at essentially any package to see what I mean 
in this case. E.g. six:

https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz

Thomas
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/W6SDV7GN5AQ3IRCHMUGVHOSFS5WUNUOV/

Reply via email to