summaryrefslogtreecommitdiff
path: root/__pkginfo__.py
diff options
context:
space:
mode:
authorRicardo Gemignani <ricardo.gemignani@gmail.com>2014-03-06 03:08:25 -0300
committerRicardo Gemignani <ricardo.gemignani@gmail.com>2014-03-06 03:08:25 -0300
commit554f49e7d75d1cbbee7567c577744222295eadd4 (patch)
treea2369910dd3141431fefd3b05ad2138ebfa6e789 /__pkginfo__.py
parent8240a55ab1ccab81925197e0a196fcfd6eac5e2b (diff)
downloadpylint-554f49e7d75d1cbbee7567c577744222295eadd4.tar.gz
except as replaced by commas, one with_statement future import added and StringFormat used to replace string.format when python < 2.6
Diffstat (limited to '__pkginfo__.py')
-rw-r--r--__pkginfo__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/__pkginfo__.py b/__pkginfo__.py
index d0ad387..e041e03 100644
--- a/__pkginfo__.py
+++ b/__pkginfo__.py
@@ -15,13 +15,17 @@
# this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""pylint packaging information"""
+import sys
modname = distname = 'pylint'
numversion = (1, 1, 0)
version = '.'.join([str(num) for num in numversion])
-install_requires = ['logilab-common >= 0.53.0', 'astroid >= 1.0.1']
+if sys.version_info < (2, 6):
+ install_requires = ['logilab-common >= 0.53.0', 'astroid >= 1.0.1', 'StringFormat']
+else:
+ install_requires = ['logilab-common >= 0.53.0', 'astroid >= 1.0.1']
license = 'GPL'
description = "python code static checker"