Update Developer setup authored by Steinar Hjellvik's avatar Steinar Hjellvik
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Before starting, install the following tools: Before starting, install the following tools:
- Python 3.8 or later - Python 3.12 or later
- Pip package manager - Pip package manager
For more information on these tools, see the public documentation on For more information on these tools, see the public documentation on
...@@ -28,18 +28,10 @@ python3 -m venv .env ...@@ -28,18 +28,10 @@ python3 -m venv .env
. ./.env/bin/activate . ./.env/bin/activate
``` ```
(Optional) If you want to be able to make changes to the osdu-sdk that is used for communication with the OSDU API's then this should also be installed in developer mode. If you omit this step then you will use the published version of the sdk referenced in setup.py
```bash
pip install -e ..\osdu-sdk-python
pip install -r requirements-dev.txt
```
Next install the main cli package in developer mode along with any necessary development packages. Next install the main cli package in developer mode along with any necessary development packages.
```bash ```bash
pip install -e . pip install -e ".[dev]"
pip install -r requirements-dev.txt
``` ```
You should now be able to run the command line. You should now be able to run the command line.
... ...
......