@@ -9,7 +9,8 @@ LePhare has no external dependency beyond OpenMP and standard compiling and link
## Installation
To install LePhare you currently need to build it from source:
### Build only the C++ executables with make (historical method)
Follow the steps below:
```
git clone https://gitlab.lam.fr/Galaxies/LEPHARE
...
...
@@ -19,10 +20,15 @@ To install LePhare you currently need to build it from source:
cd source
make
```
Currently the code does not install in another place than the source directory.
Currently, with this method, the code just builds the executables in the *source* directory.
Documentation is provided through pdf file in the git repository: `LePhare_documentation.pdf`
A doxygen documentation of the code is currently under construction.
### Build the C++ executables and the python module with cmake and setuptools
cmake>3.10, python>3.8, and numpy are currently required. The pybind11 header files are provided in the *extern* directory.
Build the executables and module by executing "python setup.py install" or "python setup.py bdist_wheel". The C++ executables are installed in the bin sub directory. The python module is installed in the conventional `site-packages` area od the system.
A user manual is provided through **LePhare_documentation.pdf** in the *doc* directory
If Doxygen is installed (see https://www.doxygen.nl/manual/install.html), code documentation is also available: execute ```python setup.py doc``` and an html sub-directory will be available for browsing in the *doc* directory.