Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #14 from lewagon/setup2
Browse files Browse the repository at this point in the history
v2
  • Loading branch information
ssaunier committed Feb 27, 2015
2 parents ec6e3e4 + 353a888 commit ce7315b
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions OSX.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,43 +49,41 @@ Vous devez ensuite entrer votre password servant à votre ouverture de session l
La licence x-code devrait apparaitre, appuyez sur la touche `q`.
Tapez `agree`puis `Entrée`.

## Canopy
## Homebrew

![canopy-logo](images/canopy-logo.png)
Sur Mac, vous devez installer Homebrew qui est un Package Manager. Cela vous nous permettre d'installer Python et ses différents buildpacks. <br>
Pour ce faire, copiez collez cette ligne dans votre terminal :

[Téléchargez Canopy](https://www.enthought.com/products/canopy/)
Canopy vous permet d'installer Python et plusieurs librairies que nous allons utiliser (Pandas, ...).
<br>
Pour vérifier si Canopy a bien été installé, vous pouvez ouvrir votre ligne de commande et taper :
```bash
$ which ipython
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

Vous devriez avoir en résultat :
Confirmez en tapant `Entrée` puis le mot de passe de votre ordinateur.

/usr/local/bin/ipython
Installez python via :

## Intallation des packages additionnels

Copiez collez les lignes ci-dessous l'une après l'autre et vérifiez que chacune d'elle a fonctionné.
```bash
$ brew install python
```
Installez setuptools et pip via :

```bash
$ sudo easy_install --upgrade pip
$ sudo pip install --upgrade distribute
pip install --upgrade setuptools
pip install --upgrade pip
```

Fermez puis ré-ouvrez votre terminal afin que ```pip``` soit reconnu. puis tapez :

Fermez puis ré-ouvrez votre terminal afin que ```pip``` soit reconnu.

Installez iPython :

```bash
pip install ipython[all]
```
Installez pandas :

```bash
pip install --user asciitable
pip install --user pyfits
pip install --user pywcs
pip install --user atpy
pip install --user aplpy
pip install --user pyregion
pip install --user pyparsing
pip install --user http://stsdas.stsci.edu/astrolib/vo-0.6.tar.gz
pip install --user http://stsdas.stsci.edu/astrolib/coords-0.37.tar.gz
pip install pandas
```

## Testons notre installation
Expand Down

0 comments on commit ce7315b

Please sign in to comment.