diff options
author | Aurelien Campeas <aurelien.campeas@logilab.fr> | 2012-11-13 14:11:33 +0100 |
---|---|---|
committer | Aurelien Campeas <aurelien.campeas@logilab.fr> | 2012-11-13 14:11:33 +0100 |
commit | 550ba6db7a6c7b72dde28b533838fb3ab4cd19f8 (patch) | |
tree | 53b11d9ab6d28d3d11b646fa63d7b6bccb4023bf /__pkginfo__.py | |
parent | 9fc4653fc67300e02b0d0a0ecd2fb4fe647780ab (diff) | |
download | logilab-common-550ba6db7a6c7b72dde28b533838fb3ab4cd19f8.tar.gz |
[loggin ext] provide colored output under windows if colorama is available (closes #107436)
Diffstat (limited to '__pkginfo__.py')
-rw-r--r-- | __pkginfo__.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/__pkginfo__.py b/__pkginfo__.py index 5f47663..78b7757 100644 --- a/__pkginfo__.py +++ b/__pkginfo__.py @@ -18,6 +18,7 @@ """logilab.common packaging information""" __docformat__ = "restructuredtext en" import sys +import os distname = 'logilab-common' modname = 'common' @@ -40,8 +41,11 @@ from os.path import join scripts = [join('bin', 'pytest')] include_dirs = [join('test', 'data')] +install_requires = [] if sys.version_info < (2, 7): - install_requires = ['unittest2 >= 0.5.1'] + install_requires.append('unittest2 >= 0.5.1') +if os.name == 'nt': + install_requires.append('colorama') classifiers = ["Topic :: Utilities", "Programming Language :: Python", |