forked from xastropy/xastropy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
52 lines (38 loc) · 1.34 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Installation instructions for xastropy.
The following assumes you use Anaconda to install Python.
It also assumes you will use Python 2.7, although I am trying
to use standard hooks toward Python 3
1. Install Python with Anaconda
2. Install xastropy with git from github
git clone https://github.com/xastropy/xastropy.git
cd xastropy
sudo python setup.py develop #[or install]
3. Update astropy
If you have the version from Anaconda, wipe that:
conda remove astropy
git clone https://github.com/profxj/astropy.git [in ~/local/Python]
cd astropy
sudo python setup.py develop
You may need to do this before executing setup:
sudo git clean -fxd
4. Update/install specutils
git clone https://github.com/astropy/specutils.git
cd specutils
sudo python setup.py develop
5. Update/install linetools
git clone https://github.com/linetools/linetools.git
cd linetools
sudo python setup.py develop
6. Other packages that not necessary to run most things but recommended
#
conda install PIL
sudo pip install astroquery
#
# pymc and gfort (for f(N) analysis)
https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
sudo pip install pymc
#
# Ginga (especially for debugging)
git clone https://github.com/ejeschke/ginga.git
cd ginga
sudo python setup.py install