From 03cc7b9053e23a64db5ff7e995b9e3e80712d87d Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 22 Jun 2003 00:28:56 +0000 Subject: [PATCH] make distutils less whiney git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1742 57a73879-2fb5-44c3-a270-3262357dd7e2 --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index e178318..8a0b09b 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: setup.py,v 1.54 2003-06-17 11:03:27 neaj Exp $ +# $Id: setup.py,v 1.55 2003-06-22 00:28:56 richard Exp $ from distutils.core import setup, Extension from distutils.util import get_platform @@ -26,8 +26,8 @@ import sys, os, string from glob import glob # patch distutils if it can't cope with the "classifiers" keyword -if sys.version < '2.2.3': - from distutils.dist import DistributionMetadata +from distutils.dist import DistributionMetadata +if not hasattr(DistributionMetadata, 'classifiers'): DistributionMetadata.classifiers = None DistributionMetadata.download_url = None -- 2.30.2