Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
pyHealpix
Commits
30be7740
Commit
30be7740
authored
Oct 30, 2017
by
Martin Reinecke
Browse files
simpler installation instructions
parent
ccbe2e3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
30be7740
...
...
@@ -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)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment