diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6db85619f2f365f21441a48037b824184fa871b7..51a5a3f72277714bcde6682f6379c8bb75568f30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,8 @@ stages: - test before_script: - - apt-get -qq update - - apt-get install -y python3-virtualenv virtualenv - - /usr/bin/virtualenv python + - apt-get -qq update + - python3.8 -m venv python - . python/bin/activate - pip3 install -r requirements.txt - cp config/sample-production.engine.ini config/engine.ini diff --git a/docs/bare-metal-installation.md b/docs/bare-metal-installation.md index d8bf1f8b65d6ed649c0e47568854ff28983b57c1..e0b1cf24ff959e4a90fce664af247857a5480289 100644 --- a/docs/bare-metal-installation.md +++ b/docs/bare-metal-installation.md @@ -44,10 +44,10 @@ If you are developing engine you also might want the projects `steering`, `dashb ## Preparation -In case of an development environment, create a virtual env for your Python dependencies: +In case of an development environment, create a virtual environment for your Python dependencies: ```shell -virtualenv -p python3.8 python +python3.8 -m venv python ``` No worries, the resulting `python` directory is excluded from the git respostory. diff --git a/docs/developer-guide.md b/docs/developer-guide.md index 5916d9ec77cec5caf09a977add20e5eded8ca3c7..0f8815eb7fc5281f8d4ed4a47bbe984bc32ca41e 100644 --- a/docs/developer-guide.md +++ b/docs/developer-guide.md @@ -62,7 +62,7 @@ The following steps espect you having done the bases configuration and set up a If you don't have already, you'll need to create an virtual environment: ```shell -~/code/aura/engine$ virtualenv -p python3.8 python +~/code/aura/engine$ python3.8 -m venv python ``` Then you can start the engine. The following command includes the activation of your virtual environment, which you have created during the installation step (`source python/bin/activate`):