mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-20 09:08:37 +03:00
add colorconsole for platform windows
This commit is contained in:
parent
13e5b3f447
commit
78bc42d765
7
setup.py
7
setup.py
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user