sphinx-doc / alabaster

Lightweight, configurable Sphinx theme
http://alabaster.readthedocs.io/
Other
738 stars 189 forks source link

Include license file in the generated wheel package #116

Closed jdufresne closed 7 years ago

jdufresne commented 7 years ago

The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see:

https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file

bitprophet commented 7 years ago

Huh, I guess this means that's one difference between wheel and sdist? Yea...listing two random (equivalent) wheel-vs-sdist archives on my workstation, I see that yea, wheels have a dist-info/ subfolder and it lacks some of the stuff the sdists do.

I wonder why wheel doesn't respect the relevant parts of my MANIFEST.in (which is what makes LICENSE and co show up in sdists) but I'll assume it's for a good reason.

Gonna go rub this all over my other projects too while I'm thinking about it. Thanks!

jdufresne commented 7 years ago

I wonder why wheel doesn't respect the relevant parts of my MANIFEST.in (which is what makes LICENSE and co show up in sdists) but I'll assume it's for a good reason.

There is some discussion about why this is hard and not immediately doable in wheel issue: pypa/wheel#138