mirror of https://github.com/nicolargo/glances
Small fixes and improvements
README.rst: Add Slackware http://slackbuilds.org/repository/14.1/system/glances/pull/379/head
parent
535793da05
commit
b6339ed76d
2
AUTHORS
2
AUTHORS
|
@ -7,7 +7,7 @@ http://blog.nicolargo.com
|
||||||
https://twitter.com/nicolargo
|
https://twitter.com/nicolargo
|
||||||
contact@nicolargo.com
|
contact@nicolargo.com
|
||||||
|
|
||||||
Alessio Sergi (aka) Al3hex
|
Alessio Sergi (aka) al3hex
|
||||||
https://twitter.com/al3hex
|
https://twitter.com/al3hex
|
||||||
|
|
||||||
Brandon Philips (aka) Philips
|
Brandon Philips (aka) Philips
|
||||||
|
|
12
README.rst
12
README.rst
|
@ -48,9 +48,11 @@ Glances is on `PyPI`_. To install, simply use `pip`_:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
apt-get install python-dev
|
|
||||||
pip install Glances
|
pip install Glances
|
||||||
|
|
||||||
|
*Note*: Python headers are required to install psutil.
|
||||||
|
For example, on Debian/Ubuntu you need to install first the *python-dev* package.
|
||||||
|
|
||||||
To upgrade Glances to the latest version:
|
To upgrade Glances to the latest version:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
@ -66,6 +68,7 @@ At the moment, packages exist for the following distributions:
|
||||||
- Debian (Testing/Sid)
|
- Debian (Testing/Sid)
|
||||||
- Fedora/CentOS/RHEL
|
- Fedora/CentOS/RHEL
|
||||||
- Gentoo
|
- Gentoo
|
||||||
|
- Slackware
|
||||||
- Ubuntu (13.04+)
|
- Ubuntu (13.04+)
|
||||||
- Void Linux
|
- Void Linux
|
||||||
|
|
||||||
|
@ -142,11 +145,8 @@ To install Glances from source:
|
||||||
$ cd glances-*
|
$ cd glances-*
|
||||||
# python setup.py install
|
# python setup.py install
|
||||||
|
|
||||||
*Note*: Python headers are required to install psutil. For example, you need to install first:
|
*Note*: Python headers are required to install psutil.
|
||||||
|
For example, on Debian/Ubuntu you need to install first the *python-dev* package.
|
||||||
* On Debian/Ubuntu, the *python-dev* package
|
|
||||||
* On CentOS/Fedora, the *python-devel* package (from the EPEL repository)
|
|
||||||
* On openSUSE/SLES/SLED, the *python-devel* package (from Oss repository)
|
|
||||||
|
|
||||||
Puppet
|
Puppet
|
||||||
------
|
------
|
||||||
|
|
10
setup.py
10
setup.py
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import glob
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import glob
|
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
@ -26,10 +26,9 @@ data_files.append((conf_path, ['conf/glances.conf']))
|
||||||
for mo in glob.glob('i18n/*/LC_MESSAGES/*.mo'):
|
for mo in glob.glob('i18n/*/LC_MESSAGES/*.mo'):
|
||||||
data_files.append((os.path.dirname(mo).replace('i18n/', 'share/locale/'), [mo]))
|
data_files.append((os.path.dirname(mo).replace('i18n/', 'share/locale/'), [mo]))
|
||||||
|
|
||||||
|
requires = ['psutil>=0.5.1']
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
requires = ['psutil>=0.5.1', 'colorconsole==0.6']
|
requires += ['colorconsole']
|
||||||
else:
|
|
||||||
requires = ['psutil>=0.5.1']
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='Glances',
|
name='Glances',
|
||||||
|
@ -66,6 +65,7 @@ setup(
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.2',
|
'Programming Language :: Python :: 3.2',
|
||||||
'Programming Language :: Python :: 3.3'
|
'Programming Language :: Python :: 3.3',
|
||||||
|
'Programming Language :: Python :: 3.4'
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue