@@ -104,10 +104,10 @@ This repository contains hooks for `pyinstaller` so that your project relying on
### Using the orekitdata Python library
If you are using the [orekit data repository as a Python library](https://gitlab.orekit.org/orekit/orekit-data#notes-for-orekit-python-users), as the Orekit data files are not Python files, you have to specify the following option to `pyinstaller` to collect them into your executable:
If you are using the [orekit data repository as a Python library](https://gitlab.orekit.org/orekit/orekit-data#notes-for-orekit-python-users), it already contains hooks for `pyinstaller` so you don't have to pass any argument, the orekit data folder will be automatically collected:
```bash
pyinstaller --collect-data orekitdata <your main Python script>
pyinstaller <your main Python script>
```
This will create a folder `dist/` containing your executable.