[Distutils] Can I upload a binary wheel to a local devpi on Linux using pip? Do I need setup.py?

Donald Stufft donald at stufft.io
Sat Mar 28 00:15:38 CET 2015


Use twine to upload


> On Mar 27, 2015, at 7:11 PM, Dan Stromberg <drsalists at gmail.com> wrote:
> 
> Is it possible to use "pip wheel" to upload a binary wheel on Linux,
> to a local devpi server? Or do I need to get to a setup.py and do an
> upload from there? It seems a shame to build the wheel without need of
> a setup.py (I believe setup.py is only used behind the scenes), only
> to need a setup.py to upload the result.
> 
> This makes me wonder about devpi and binary wheels on Linux:
> http://pythonwheels.com
> C extensions
> PyPI currently only allows uploading platform-specific wheels for
> Windows and Mac OS X. It is still useful to create wheels for these
> platforms, as it avoids the need for your users to compile the package
> when installing.
> 
> I'm doing "pip -v -v -v wheel numpy" (for example), and I have a
> pip.conf and .pypirc (both pointing at our local devpi).
> 
> Thanks!
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig


More information about the Distutils-SIG mailing list