[wwwsearch-commits] r23232 - wwwsearch/ClientCookie/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Sat Feb 11 17:49:55 CET 2006
Author: jjlee
Date: Sat Feb 11 17:49:53 2006
New Revision: 23232
Modified:
wwwsearch/ClientCookie/trunk/setup.py
Log:
Fix setup.py for Python 2.0
Modified: wwwsearch/ClientCookie/trunk/setup.py
==============================================================================
--- wwwsearch/ClientCookie/trunk/setup.py (original)
+++ wwwsearch/ClientCookie/trunk/setup.py Sat Feb 11 17:49:53 2006
@@ -63,13 +63,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