Skip to content
Snippets Groups Projects

Support for pip installing this Orekit data repository

Merged Clément Jonglez requested to merge yzokras/orekit-data:python-package into master
1 unresolved thread
+ 1
7
@@ -52,10 +52,4 @@ pip install git+https://gitlab.orekit.org/orekit/orekit-data.git
This will install a Python library named `orekitdata`. The Python library receives a new version tag at every commit in this repository so that your Python project can pull the newest version of the orekit data every time this repository is updated. The 7 last characters of the version tag correspond to the 7 first characters of the git hash of the commit: for instance the Python version `orekitdata-0+untagged.70.g91b2c79` correspond to the commit of the `master` branch of this repository with a githash starting with `91b2c79`.
Then to pass the data folder to Orekit in Python:
```python
import orekitdata
from orekit.pyhelpers import setup_orekit_curdir
setup_orekit_curdir(filename=orekitdata.__path__[0])
```
Then to pass the data folder to Orekit in Python, follow the instructions in the [Python wrapper Wiki](https://gitlab.orekit.org/orekit-labs/python-wrapper/-/wikis/installation#physical-data).
Loading