environment create
Usage​
tecton environment create [OPTIONS]
Description​
Create a custom Python Environment for RTFVs.
Options​
| Flag | Description |
|---|---|
-n, --name TEXT | Name of the environment [required] |
-r, --requirements PATH | Path to the requirements.txt file [required] |
-d, --description TEXT | Description of the environment, Optional |
-p, --python-version TEXT | Python Version for the environment. Supported versions: 3.9, 3.10, 3.11. Defaults to 3.9.17 |
Examples​
Creating a custom environment environment:
tecton environment create --name my-custom-env --description "My custom Python environment" --requirements /path/to/requirements.txt
Create a custom environment for Python version 3.9
tecton environment create --name my-custom-env --description "My custom Python environment" --requirements /path/to/requirements.txt --python-version 3.9
Create a custom environment for Python version 3.10
tecton environment create --name my-custom-env --description "My custom Python environment" --requirements /path/to/requirements.txt --python-version 3.10
Create a custom environment for Python version 3.11
tecton environment create --name my-custom-env --description "My custom Python environment" --requirements /path/to/requirements.txt --python-version 3.11