Commit 4bb67049 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

2.5.1 support --install-laout

parent fdbc5f8bc696
......@@ -8,7 +8,7 @@ Main functions available:
* `ns_get_proxy` get a pyro proxy from a nameserver object identifier.
:organization: Logilab
:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:copyright: 2009-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__ = "restructuredtext en"
......
......@@ -177,7 +177,7 @@ def install(**kwargs):
try:
if not USE_SETUPTOOLS:
from distutils import __version__ as distutils_version
if tuple([int(x) for x in distutils_version.split('.')]) <= (2, 5, 1):
if tuple([int(x) for x in distutils_version.split('.')]) < (2, 5, 1):
sys.argv.remove('--install-layout=deb')
print "W: remove '--install-layout=deb' option"
except:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment