"</pre>\n",
"* Ligne de commande : voici la commande<br />\n",
"(remplacer \"package-name\" avec le nom du paquet que vous voulez installer/mettre \u00e0 jour/supprimer)<pre>\n",
- "$ sudo apt-get install package-name\n",
- "$ sudo apt-get update package-name\n",
+ "$ sudo apt-get install package-name<br />\n",
+ "$ sudo apt-get update package-name<br />\n",
"$ sudo apt-get remove package-name\n",
"</pre>\n",
"\n",
"* Utile : coloration syntaxique, indentation en bloc, auto-compl\u00e9tion, masquer/afficher bloc de code...\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install emacs\n",
- "$ sudo apt-get install vim\n",
+ "$ sudo apt-get install emacs<br />\n",
+ "$ sudo apt-get install vim<br />\n",
"$ sudo apt-get install nano\n",
"</pre>\n",
"\n",
"* IPython notebook : pourrait \u00eatre utile pour les futurs ateliers de formation :)\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install ipython\n",
+ "$ sudo apt-get install ipython<br />\n",
"$ sudo apt-get install ipython-notebook\n",
"</pre>\n",
"\n",
"* Quel choisir? git, mercurial...\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install git\n",
- "$ sudo apt-get install gitk\n",
+ "$ sudo apt-get install git<br />\n",
+ "$ sudo apt-get install gitk<br />\n",
"$ sudo apt-get install mercurial\n",
"</pre>\n",
"\n",
"* build-essentials, python-dev (sources de Python)\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install build-essential\n",
+ "$ sudo apt-get install build-essential<br />\n",
"$ sudo apt-get install python-dev\n",
"</pre>\n",
"\n",
"* Pour quoi?\n",
"* Paquets Debian =\n",
"<pre>\n",
- "$ sudo apt-get install python-matplotlib\n",
+ "$ sudo apt-get install python-matplotlib<br />\n",
"$ sudo apt-get install python-numpy\n",
"</pre>\n",
"\n",
"* Pour quoi? Quel choisir?\n",
"* Paquets Debian =\n",
"<pre>\n",
- "$ sudo apt-get install python-django\n",
+ "$ sudo apt-get install python-django<br />\n",
"$ sudo apt-get install python-pyramid\n",
"</pre>\n",
"\n",
"* Pour quoi? Quel choisir?\n",
"* Paquets Debian =\n",
"<pre>\n",
- "$ sudo apt-get install python-mysqldb\n",
- "$ sudo apt-get install python-psycopg2\n",
+ "$ sudo apt-get install python-mysqldb<br />\n",
+ "$ sudo apt-get install python-psycopg2<br />\n",
"$ sudo apt-get install python-sqlalchemy\n",
"</pre>\n",
"\n",
"\n",
"## Virtualenv\n",
"\n",
- "http://www.virtualenv.org\n",
+ "[http://www.virtualenv.org](http://www.virtualenv.org)\n",
"\n",
"Cr\u00e9er un environnement virtuel Python\n",
"\n",
"\n",
"## pip\n",
"\n",
- "http://www.pip-installer.org\n",
+ "[http://www.pip-installer.org](http://www.pip-installer.org)\n",
"\n",
"Installer et g\u00e9rer les paquets Python.\n",
"\n",
"* trouver les paquets \u00e0 installer : pypi<br />\n",
- "https://pypi.python.org<br />\n",
+ "[https://pypi.python.org](https://pypi.python.org)<br />\n",
"Exemple :<br />\n",
- "ipython : https://pypi.python.org/pypi/ipython/1.0.0\n",
+ "ipython : [https://pypi.python.org/pypi/ipython/1.0.0](https://pypi.python.org/pypi/ipython/1.0.0)\n",
"* cr\u00e9er un fichier requirements.txt dans votre projet\n",
"* ajouter un paquet requis par ligne (avec les versions autoris\u00e9es)<br />\n",
- "http://www.pip-installer.org/en/latest/cookbook.html#requirements-files<br />\n",
+ "[http://www.pip-installer.org/en/latest/cookbook.html#requirements-files](http://www.pip-installer.org/en/latest/cookbook.html#requirements-files)<br />\n",
"Exemple :\n",
"<pre>\n",
"ipython == 1.0.0\n",
"* utiliser les paquets<br />\n",
"Exemple :\n",
"<pre>\n",
- "(env)$ ipython\n",
+ "(env)$ ipython<br />\n",
"(env)$ ipython notebook\n",
"</pre>\n",
"\n",
"\n",
"Pour aller plus loin :\n",
"\n",
- "* paquets Debian pour Python : http://packages.debian.org/stable/python/\n",
+ "* paquets Debian pour Python : [http://packages.debian.org/stable/python/](http://packages.debian.org/stable/python/)\n",
"\n",
- "* paquets Python : https://pypi.python.org\n",
+ "* paquets Python : [https://pypi.python.org](https://pypi.python.org)\n",
"\n",
- "* virtualenv : http://www.virtualenv.org\n",
+ "* virtualenv : [http://www.virtualenv.org](http://www.virtualenv.org)\n",
"\n",
- "* pip : http://www.pip-installer.org\n"
+ "* pip : [http://www.pip-installer.org](http://www.pip-installer.org)\n"
]
},
{
"</pre>\n",
"* Ligne de commande : voici la commande<br />\n",
"(remplacer \"package-name\" avec le nom du paquet que vous voulez installer/mettre \u00e0 jour/supprimer)<pre>\n",
- "$ sudo apt-get install package-name\n",
- "$ sudo apt-get update package-name\n",
+ "$ sudo apt-get install package-name<br />\n",
+ "$ sudo apt-get update package-name<br />\n",
"$ sudo apt-get remove package-name\n",
"</pre>\n",
"\n",
"* Utile : coloration syntaxique, indentation en bloc, auto-compl\u00e9tion, masquer/afficher bloc de code...\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install emacs\n",
- "$ sudo apt-get install vim\n",
+ "$ sudo apt-get install emacs<br />\n",
+ "$ sudo apt-get install vim<br />\n",
"$ sudo apt-get install nano\n",
"</pre>\n",
"\n",
"* IPython notebook : pourrait \u00eatre utile pour les futurs ateliers de formation :)\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install ipython\n",
+ "$ sudo apt-get install ipython<br />\n",
"$ sudo apt-get install ipython-notebook\n",
"</pre>\n",
"\n",
"* Quel choisir? git, mercurial...\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install git\n",
- "$ sudo apt-get install gitk\n",
+ "$ sudo apt-get install git<br />\n",
+ "$ sudo apt-get install gitk<br />\n",
"$ sudo apt-get install mercurial\n",
"</pre>\n",
"\n",
"* build-essentials, python-dev (sources de Python)\n",
"* Paquets Debian = \n",
"<pre>\n",
- "$ sudo apt-get install build-essential\n",
+ "$ sudo apt-get install build-essential<br />\n",
"$ sudo apt-get install python-dev\n",
"</pre>\n",
"\n",
"* Pour quoi?\n",
"* Paquets Debian =\n",
"<pre>\n",
- "$ sudo apt-get install python-matplotlib\n",
+ "$ sudo apt-get install python-matplotlib<br />\n",
"$ sudo apt-get install python-numpy\n",
"</pre>\n",
"\n",
"* Pour quoi? Quel choisir?\n",
"* Paquets Debian =\n",
"<pre>\n",
- "$ sudo apt-get install python-django\n",
+ "$ sudo apt-get install python-django<br />\n",
"$ sudo apt-get install python-pyramid\n",
"</pre>\n",
"\n",
"* Pour quoi? Quel choisir?\n",
"* Paquets Debian =\n",
"<pre>\n",
- "$ sudo apt-get install python-mysqldb\n",
- "$ sudo apt-get install python-psycopg2\n",
+ "$ sudo apt-get install python-mysqldb<br />\n",
+ "$ sudo apt-get install python-psycopg2<br />\n",
"$ sudo apt-get install python-sqlalchemy\n",
"</pre>\n",
"\n",
"\n",
"## Virtualenv\n",
"\n",
- "http://www.virtualenv.org\n",
+ "[http://www.virtualenv.org](http://www.virtualenv.org)\n",
"\n",
"Cr\u00e9er un environnement virtuel Python\n",
"\n",
"\n",
"## pip\n",
"\n",
- "http://www.pip-installer.org\n",
+ "[http://www.pip-installer.org](http://www.pip-installer.org)\n",
"\n",
"Installer et g\u00e9rer les paquets Python.\n",
"\n",
"* trouver les paquets \u00e0 installer : pypi<br />\n",
- "https://pypi.python.org<br />\n",
+ "[https://pypi.python.org](https://pypi.python.org)<br />\n",
"Exemple :<br />\n",
- "ipython : https://pypi.python.org/pypi/ipython/1.0.0\n",
+ "ipython : [https://pypi.python.org/pypi/ipython/1.0.0](https://pypi.python.org/pypi/ipython/1.0.0)\n",
"* cr\u00e9er un fichier requirements.txt dans votre projet\n",
"* ajouter un paquet requis par ligne (avec les versions autoris\u00e9es)<br />\n",
- "http://www.pip-installer.org/en/latest/cookbook.html#requirements-files<br />\n",
+ "[http://www.pip-installer.org/en/latest/cookbook.html#requirements-files](http://www.pip-installer.org/en/latest/cookbook.html#requirements-files)<br />\n",
"Exemple :\n",
"<pre>\n",
"ipython == 1.0.0\n",
"* utiliser les paquets<br />\n",
"Exemple :\n",
"<pre>\n",
- "(env)$ ipython\n",
+ "(env)$ ipython<br />\n",
"(env)$ ipython notebook\n",
"</pre>\n",
"\n",
"\n",
"Pour aller plus loin :\n",
"\n",
- "* paquets Debian pour Python : http://packages.debian.org/stable/python/\n",
+ "* paquets Debian pour Python : [http://packages.debian.org/stable/python/](http://packages.debian.org/stable/python/)\n",
"\n",
- "* paquets Python : https://pypi.python.org\n",
+ "* paquets Python : [https://pypi.python.org](https://pypi.python.org)\n",
"\n",
- "* virtualenv : http://www.virtualenv.org\n",
+ "* virtualenv : [http://www.virtualenv.org](http://www.virtualenv.org)\n",
"\n",
- "* pip : http://www.pip-installer.org\n"
+ "* pip : [http://www.pip-installer.org](http://www.pip-installer.org)\n"
]
},
{