|
|
# From pre-made packages (recommended if possible)
|
|
|
|
|
|
The easiest way to install the Orekit Python Wrapper module in Python is to use pre-made packages for the python distribution [Anaconda](http://docs.continuum.io/anaconda/install.html).
|
|
|
The easiest and often best way to install the Orekit Python Wrapper module in Python is to use pre-made packages for the python distribution [Anaconda](http://docs.continuum.io/anaconda/install.html).
|
|
|
|
|
|
Orekit and JCC [packages](https://github.com/conda-forge/orekit-feedstock) has been made for Anaconda and can then be installed from the Anaconda python distribution:
|
|
|
Orekit [packages](https://github.com/conda-forge/orekit-feedstock) is being continously built in the conda-forge system and can then be installed from the Anaconda python distribution:
|
|
|
|
|
|
```shell
|
|
|
conda config --add channels conda-forge
|
|
|
conda install orekit
|
|
|
conda install -c conda-forge orekit
|
|
|
```
|
|
|
|
|
|
This will install all dependencies (JCC, JDK) and install scripts that sets the necessary path variables (JCC_JDK) at activation.
|
|
|
This will install all dependencies (openjdk) and install scripts that sets the necessary path variables (JCC_JDK) at activation.
|
|
|
|
|
|
Note that it is needed to active the conda environment to be used, this triggers a script that sets up the right environment variables. If accessing the python executable directly, for example through an IDE, the tool [conda-wrappers](https://youtrack.jetbrains.com/issue/PY-18865#comment=27-1444034) can be used to create executable that runs the activation automatically.
|
|
|
Note that it is needed to active the conda environment to be used, this activation triggers a script that sets up the right environment variables (JCC_JDK). If accessing the python executable directly, for example through an IDE, the tool [conda-wrappers](https://youtrack.jetbrains.com/issue/PY-18865#comment=27-1444034) can be used to create executable that runs the activation automatically.
|
|
|
|
|
|
# From Source
|
|
|
|
... | ... | @@ -22,6 +21,7 @@ The git repository for orekit is located at: |
|
|
https://gitlab.orekit.org/orekit-labs/python-wrapper.git
|
|
|
|
|
|
The modified orekit source code with the python additions are available at:
|
|
|
https://github.com/petrushy/Orekit
|
|
|
|
|
|
|
|
|
The orekit conda package is automatically built and can be of interest if needed to compile it manually:
|
... | ... | |