summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolargo@nicolargo-boulot.(none)>2012-03-14 11:10:38 +0100
committernicolargo <nicolargo@nicolargo-boulot.(none)>2012-03-14 11:10:38 +0100
commitf6f69d475c23670731ec09c3ea488b2e382e58f5 (patch)
tree2c3a4c503aa2835b64f9c22e29ed76d5e2148ae2
parent6be9ae0cb722eb4a0f058f144181e8a7e76a4808 (diff)
Update documentation: use setup.py for installation
-rw-r--r--NEWS1
-rw-r--r--README14
-rw-r--r--README-fr65
-rw-r--r--README.md14
-rw-r--r--TODO2
5 files changed, 38 insertions, 58 deletions
diff --git a/NEWS b/NEWS
index 50d8b695..8957bfc3 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Version 1.4
===========
* Goodby StatGrab... Welcome to the PsUtil library !
+ * No more autotools, use setup.py to install
* Sort by Process name ('p' key)
* Only major stats (CPU, Load and memory) use background colors
* Improve operating system name
diff --git a/README b/README
index 54c5699c..15e9547b 100644
--- a/README
+++ b/README
@@ -55,25 +55,15 @@ Glances use a standard GNU style installer:
$ tar zxvf glances-1.4.tar.gz
$ cd glances-1.4
- $ ./configure
- $ make
- $ sudo make install
+ $ sudo python setup.py install
Pre-requisites:
* Python 2.6+ (not tested with Python 3+)
-* psutil 0.4.1+ (did NOT work with psutil < 0.2 )
-
-Notes: For Debian and Ubuntu < 12.04
-The officials repos only include the psutil version 0.2.1.
-You had to install the version 0.4.1 using the following commands:
-
- $ sudo apt-get install python-dev python-pip
- $ sudo pip install --upgrade psutil
## Running
-Easy:
+Easy way (that's all folks !):
$ glances.py
diff --git a/README-fr b/README-fr
index 1507bb21..f2cdd918 100644
--- a/README-fr
+++ b/README-fr
@@ -20,6 +20,32 @@ Le processus de packaging est actuellement en cours sur d'autres distribs, je
vous conseille donc de rechercher Glances sur votre gestionnaire de package
avant de faire une installation depuis les sources.
+### Depuis le PPA (pour les systèmes Ubuntu/Mint...)
+
+Arnaud Hartmann (thanks to him !) maintient un PPA avec la dernière version:
+
+Pour installer le PPA:
+
+ $ sudo add-apt-repository ppa:arnaud-hartmann/glances-dev
+ $ sudo apt-get update
+
+Pour installer Glances à partir de ce PPA:
+
+ $ sudo apt-get install glances
+
+### Depuis PyPi
+
+PyPi est un gestionnaire officiel des paquets Python.
+Il est disponible sous la plupart des distibutions GNU/Linux.
+
+On commence par installer PyPi sur son système (par exemple Debian/Ubuntu):
+
+ $ sudo apt-get install python-pip
+
+Puis on installe la dernière version de Glances:
+
+ $ sudo pip install glances
+
### Depuis les sources
Le projet Glances est hébergé sur GitHUB: https://github.com/nicolargo/glances
@@ -27,47 +53,20 @@ Le projet Glances est hébergé sur GitHUB: https://github.com/nicolargo/glances
Pour l'installer, il suffit de suivre les instructions suivantes depuis un
terminal.
-Récupération de la dernière version (1.3.7):
+Récupération de la dernière version (1.4):
- $ wget https://github.com/downloads/nicolargo/glances/glances-1.3.7.tar.gz
+ $ wget https://github.com/downloads/nicolargo/glances/glances-1.4.tar.gz
Procédez ensuite à l'installation:
- $ tar zxvf glances-1.3.7.tar.gz
- $ cd glances-1.3.7
- $ ./configure
- $ make
- $ sudo make install
+ $ tar zxvf glances-1.4.tar.gz
+ $ cd glances-1.4
+ $ sudo python setup.py install
+
Glances a besoin des dépendances suivantes:
* Python 2.6+ (non testé avec Python 3+)
-* libstatgrab 0.16+
-* python-statgrab 0.5+ (ne marchera PAS avec python-statgrab 0.4)
-
-Notes specifiques pour une installation sous Debian 6.
-Debian Squeeze met à disposition la version 0.4 de python-statgrab.
-Il faut donc installer la version 0.5 à la main:
-
- $ sudo apt-get install libstatgrab-dev pkg-config python-dev make
- $ wget http://ftp.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/pystatgrab/pystatgrab-0.5.tar.gz
- $ tar zxvf pystatgrab-0.5.tar.gz
- $ cd pystatgrab-0.5/
- $ ./setup.py build
- $ sudo ./setup.py install
-
-Notes specifiques pour une installation sous Ubuntu 10.04 et 10.10.
-Ces versions d'Ubuntu mettent à disposition la version 0.4 de python-statgrab.
-Il faut donc installer la version 0.5 à la main:
-
- $ sudo apt-get update
- $ sudo apt-get install pkg-config build-essential autoconf automake python libstatgrab-dev python-all-dev
- $ sudo apt-get remove python-statgrab
- $ wget http://ftp.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/pystatgrab/pystatgrab-0.5.tar.gz
- $ tar zxvf pystatgrab-0.5.tar.gz
- $ cd pystatgrab-0.5/
- $ ./setup.py build
- $ sudo ./setup.py install
## Lancement de Glances
diff --git a/README.md b/README.md
index 54c5699c..15e9547b 100644
--- a/README.md
+++ b/README.md
@@ -55,25 +55,15 @@ Glances use a standard GNU style installer:
$ tar zxvf glances-1.4.tar.gz
$ cd glances-1.4
- $ ./configure
- $ make
- $ sudo make install
+ $ sudo python setup.py install
Pre-requisites:
* Python 2.6+ (not tested with Python 3+)
-* psutil 0.4.1+ (did NOT work with psutil < 0.2 )
-
-Notes: For Debian and Ubuntu < 12.04
-The officials repos only include the psutil version 0.2.1.
-You had to install the version 0.4.1 using the following commands:
-
- $ sudo apt-get install python-dev python-pip
- $ sudo pip install --upgrade psutil
## Running
-Easy:
+Easy way (that's all folks !):
$ glances.py
diff --git a/TODO b/TODO
index 84804ad7..c4ae30bc 100644
--- a/TODO
+++ b/TODO
@@ -1 +1 @@
-- Packaging for .deb (Debian|Ubuntu|Mint) Linux distributions (contributors needed)
+- Packaging for Debian (contributors needed)