From: Ionuț Arțăriși Date: Thu, 16 Feb 2012 12:11:04 +0000 (+0100) Subject: remove pep8 and strict lxml version from setup.py X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=82138245694b452341cc41638058adb3972a9926;p=openstack-build%2Fneutron-build.git remove pep8 and strict lxml version from setup.py Change-Id: I671f3e924641cdfdfb5d20d0b0e3c77e1dc714e2 --- diff --git a/quantum/wsgi.py b/quantum/wsgi.py index dfd1bd740..678391033 100644 --- a/quantum/wsgi.py +++ b/quantum/wsgi.py @@ -284,6 +284,7 @@ class XMLDictSerializer(DictSerializer): def _to_xml(self, root): """Convert the xml object to an xml string.""" + # we use lxml here instead of xml.minidom for performance reasons return etree.tostring(root, encoding='UTF-8', xml_declaration=True) diff --git a/setup.py b/setup.py index 0bc8d6aaf..f294a3e57 100644 --- a/setup.py +++ b/setup.py @@ -50,8 +50,7 @@ requires = [ 'PasteDeploy', 'Routes>=1.12.3', 'eventlet>=0.9.12', - 'lxml==2.3', - 'pep8>=0.6.1', + 'lxml', 'python-gflags', 'simplejson', 'sqlalchemy', diff --git a/tools/pip-requires b/tools/pip-requires index f13ef0d37..ac357fa72 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -2,7 +2,7 @@ Paste PasteDeploy==1.5.0 Routes>=1.12.3 eventlet>=0.9.12 -lxml==2.3 +lxml mox==0.5.3 python-gflags==1.3 simplejson