Răsfoiți Sursa

And back to venv

Bart Hertog 5 ani în urmă
părinte
comite
68a89e4b99
2 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 1 2
      bitbucket-pipelines.yml
  2. 1 1
      setup.sh

+ 1 - 2
bitbucket-pipelines.yml

@@ -12,8 +12,7 @@ pipelines:
           - add-apt-repository ppa:ubuntu-toolchain-r/test -y
           - apt-get update
           - apt-get install -y jq gcc-9 g++-9 unzip cmake lib32ncurses5 lib32z1 lib32stdc++6 python3-venv
-          - update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9
-          - pip3 install virtualenv
+          - update-alternatives --install 
           - git submodule update --recursive --init
           - source bitbucket-pipelines-dependencies.sh
 

+ 1 - 1
setup.sh

@@ -33,7 +33,7 @@
 # This script will setup the environment to generate source code in your project.
 
 # Setup the virtual envirounment for Python packages
-virtualenv venv
+python3 -m venv venv
 source ./venv/bin/activate
 pip install -r requirements.txt