
June 9, 2001
10:27 a.m.
Hi! I needed this in my setup.py to support distutils 1.0.1: if hasattr(distutils.dist.DistributionMetadata, 'get_keywords'): setup_args['keywords'] = "wiki web" if hasattr(distutils.dist.DistributionMetadata, 'get_platforms'): setup_args['platforms'] = "win32 posix" apply(setup, (), setup_args) Is there a more official way? Ciao, Jürgen