jiffyclub / palettable

Color palettes for Python
https://jiffyclub.github.io/palettable/
Other
772 stars 73 forks source link

Wheel packaging format for pypi.org #5

Closed stonebig closed 10 years ago

stonebig commented 10 years ago

Would it be possible to get a .whl universal package on Pypi ?

If I'm right, it's just a matter of adding a setup.cfg file at root level with

[wheel]
universal = 1

and then doing this to upload to pypi

python setup.py sdist bdist_wheel upload -r pypi
jiffyclub commented 10 years ago

I could. Is there some problem installing it from source?

stonebig commented 10 years ago

Hi @jiffyclub ,

Not at the moment, but I was caught the other day by seaborn-0.4 not playing nice any more when trying to include it 'automatically' in Winpython, to the opposite of seaborn-0.3 (https://groups.google.com/forum/#!topic/winpython/yKCqSx6LsnM)

After digging, I discovered that the wheel format may have just been "invented" to avoid me such bad surprises, and it also "shortcut" a lot of internal complexity of Winpython "builder" function.

So the more I can get packages in wheel format, the better I feel. So my request, as your package is part of the Winpython version I try to maintain.

jiffyclub commented 10 years ago

Done! https://pypi.python.org/pypi/brewer2mpl

stonebig commented 10 years ago

super, thanks a lot ! Have a nice day. I immediately replace brewer2mpl-1.4.tar.gz per the wheel.