diff options
author | fraoustin <fraoustin@yahoo.fr> | 2013-08-23 19:04:21 +0200 |
---|---|---|
committer | fraoustin <fraoustin@yahoo.fr> | 2013-08-23 20:38:01 +0200 |
commit | 78bc42d7651768e8321cffdb121007dbba9b1979 (patch) | |
tree | b0bd57a7e33307cd41ded526d2f94fb34500ed13 /setup.py | |
parent | 13e5b3f447e9537a776454cd63e880745cd91c88 (diff) |
add colorconsole for platform windows
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -28,6 +28,11 @@ data_files.append((etc_path, ['glances/conf/glances.conf'])) for mo in glob.glob('i18n/*/LC_MESSAGES/*.mo'): data_files.append((os.path.dirname(mo).replace('i18n/', 'share/locale/'), [mo])) +if sys.platform.startswith('win'): + requires = ['psutil>=0.5.1', 'colorconsole==0.6'] +else: + requires = ['psutil>=0.5.1'] + setup( name='Glances', version='1.7.1', @@ -39,7 +44,7 @@ setup( # Alternative download_url='https://s3.amazonaws.com/glances/glances-1.7.1.tar.gz', license="LGPL", keywords="cli curses monitoring system", - install_requires=['psutil>=0.5.1'], + install_requires=requires, extras_require={ 'HTML': ['jinja2'], 'SENSORS': ['pysensors'], |