Noam Raphael <noamraph at remove.the.dot.gm.ail.com> writes: > 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? I'm *guessing* should have been something like (untested): from distutils.dist import DistributionMetadata try: DistributionMetadata.classifiers except AttributeError: DistributionMetadata.classifiers = None setup( ... classifiers=... ) John
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4