Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
pyHealpix
Commits
3b316c34
Commit
3b316c34
authored
Apr 27, 2017
by
Martin Reinecke
Browse files
add README.md
parent
b39aaf1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
0 → 100644
View file @
3b316c34
pyHealpix - minimalistic Python interface for Healpix C++
=========================================================
Summary
-------
### Description
This library tries to provide Python bindings for the most important
functionality in Healpix C++. The design goals are
-
similarity to the C++ interface (while respecting some Python peculiarities)
-
simplicity (no optional function parameters)
-
low function calling overhead
The package is implemented purely in C++, making use of the pybind11 package
(https://github.com/pybind/pybind11). It can be compiled for both Python 2 and
3.
Installation
------------
### Requirements
-
no external 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 git
-
Install pyHealpix:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
cd pyHealpix
autoreconf -i && ./configure && make -j4 && sudo make install
cd ..
### Local installation for a single user
-
Install dependencies for building:
sudo apt-get install g++ autoconf git
-
Install pyHealpix:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
cd pyHealpix
autoreconf -i && ./configure --prefix=$HOME/.local && make -j4 && make install
cd ..
### 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` && make -j4 && sudo make install
cd ..
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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