Commits

anatoly techtonik committed 26dc169

cElementTree is included since Python 2.5, which is also a
reasonable minimal version to run on

Comments (0)

Files changed (2)

 Required packages
 -----------------
 
-To run the PyPI software, you need PostgreSQL, and all
-these packages located at PyPI:
+To run the PyPI software, you need Python 2.5+,
+PostgreSQL, and all these packages located at PyPI:
 
-- cElementTree
 - zope.interface
 - zope.pagetemplate
 - zope.tal
 virtualenv installed::
 
     $ virtualenv --no-site-packages --distribute .
-    $ bin/easy_install cElementTree zope.interface zope.pagetemplate
+    $ bin/easy_install zope.interface zope.pagetemplate
     $ bin/easy_install zope.tal zope.tales zope.i18nmessageid psycopg2
     $ bin/easy_install docutils M2Crypto python-openid raven
 
 from zope.pagetemplate.pagetemplatefile import PageTemplateFile
 from distutils.util import rfc822_escape
 from distutils2.metadata import Metadata
+from xml.etree import cElementTree
+
 try:
     import json
 except ImportError:
     class OperationalError(Exception):
         pass
 
-try:
-    import cElementTree
-except ImportError:
-    from xml.etree import cElementTree
-
 # Importing M2Crypto patches urllib; don't let them do that
 orig = urllib.URLopener.open_https.im_func
 from M2Crypto import EVP, DSA