Commit 30be7740 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

simpler installation instructions

parent ccbe2e3c
......@@ -22,40 +22,28 @@ Installation
### Requirements
- no external dependencies, all required code is contained in the package
- no library dependencies, all required code is contained in the package
- for building, a modern C++ compiler is required (successfully tested with
g++ 5.4 clang 4.0 and Intel icpc 17.0)
- for building from the Git repository, GNU autotools are required
### System-wide installation
- Install dependencies for building:
sudo apt-get install g++ autoconf libtool git
sudo apt-get install g++ git python
- Install pyHealpix:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
(cd pyHealpix && autoreconf -i && ./configure --enable-openmp --enable-native-optimizations && make -j4 && sudo make install)
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git -b setuptools_test
(cd pyHealpix && python setup.py install)
### Local installation for a single user
- Install dependencies for building:
sudo apt-get install g++ autoconf libtool git
sudo apt-get install g++ git python
- Install pyHealpix:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
(cd pyHealpix && autoreconf -i && ./configure --prefix=$HOME/.local --enable-openmp --enable-native-optimizations && make -j4 install)
### Installation on OS X
- Install pyHealpix:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
(cd pyHealpix && autoreconf -i && ./configure --prefix=`python-config --prefix` --enable-openmp --enable-native-optimizations && make -j4 && sudo make install)
(The last command installs the package system-wide. User-specific
installation would be preferrable, but we haven't found a simple recipe yet
how to determine the installation prefix ...)
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git -b setuptools_test
(cd pyHealpix && python setup.py install --user)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment