Usage
In order to use buildenv tool features, please follow these instructions.
Project already configured with buildenv
Any project already using the buildenv tool has generated loading scripts in its root folder.
The typical project setup scenario with buildenv is:
clone the project –
git clone git@github.com:xxx/yyy.gitlaunch the loading script:
on Linux (or git bash):
./buildenv.shon Windows:
buildenv.cmd
build the project; the build environment (i.e. python venv + extensions) is now installed and loaded in your terminal
Install buildenv in a new/existing project
Any project can be simply setup to use buildenv, by following one of these methods:
Script install
download main python loading script:
use your browser right-click > save link as feature on the above link
or on Linux, run
wget https://raw.githubusercontent.com/dynod/buildenv/main/buildenv-loader.py
launch the script:
on Linux:
python3 buildenv-loader.pyon Windows:
python buildenv-loader.py
you’re done, loading scripts are generated in your project
Bootstrap from an existing python install
If you already have a python environment with buildenv tool installed, you can use the buildenv init --new <path> command
to generate the loading scripts in a new folder.
Then, just run the generated script for your preferred shell to initialize the new build environment.