Merge pull request #464 from AndreMiras/feature/activate_venv_before_build

Activates venv before venv build
This commit is contained in:
Andre Miras 2020-05-03 10:55:04 +02:00 committed by GitHub
commit a83b3f495b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -68,6 +68,7 @@ jobs:
pip install Cython==0.28.1
- name: Build Python & Kivy
run: |
. venv/bin/activate
python toolchain.py build python3 kivy
build_updated_recipes:

View file

@ -35,7 +35,7 @@ try:
except ImportError:
print("ERROR: Python requirements are missing")
print("To install: pip install -r requirements.txt")
sys.exit(0)
sys.exit(1)
curdir = dirname(__file__)
sys.path.insert(0, join(curdir, "tools", "external"))