[wwwsearch-commits] r23233 - wwwsearch/ClientForm/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Sat Feb 11 17:51:47 CET 2006
Author: jjlee
Date: Sat Feb 11 17:51:46 2006
New Revision: 23233
Modified:
wwwsearch/ClientForm/trunk/setup.py
Log:
Fix setup.py for Python 2.0
Modified: wwwsearch/ClientForm/trunk/setup.py
==============================================================================
--- wwwsearch/ClientForm/trunk/setup.py (original)
+++ wwwsearch/ClientForm/trunk/setup.py Sat Feb 11 17:51:46 2006
@@ -62,13 +62,16 @@
from distutils.core import setup
_setup = setup
def setup(**kwargs):
- for key in [
+ ignore_keys = [
# distutils >= Python 2.3 args
# XXX probably download_url came in earlier than 2.3
"classifiers", "download_url",
# setuptools args
"install_requires", "zip_safe", "test_suite",
- ]:
+ ]
+ if sys.version_info < (2, 1):
+ ignore_keys.append("platforms")
+ for key in ignore_keys:
if kwargs.has_key(key):
del kwargs[key]
# Only want packages keyword if this is a package,
More information about the wwwsearch-commits
mailing list