Using distutils 2.4 for python 2.3

Noam Raphael noamraph at remove.the.dot.gm.ail.com
Fri Sep 23 10:25:49 EDT 2005


Fredrik Lundh wrote:
> 
> you can enable new metadata fields in older versions by assigning to
> the DistributionMetadata structure:
> 
>     try:
>         from distutils.dist import DistributionMetadata
>         DistributionMetadata.package_data = None
>     except:
>         pass
> 
>     setup(
>         ...
>         package_data=...
>     )
> 
> </F> 

I tried this, but it made python2.4 behave like python2.3, and not 
install the package_data files.

Did I do something wrong?



More information about the Python-list mailing list