Merge pull request #464 from AndreMiras/feature/activate_venv_before_build
Activates venv before venv build
This commit is contained in:
commit
a83b3f495b
2 changed files with 2 additions and 1 deletions
1
.github/workflows/kivy_ios.yml
vendored
1
.github/workflows/kivy_ios.yml
vendored
|
@ -68,6 +68,7 @@ jobs:
|
||||||
pip install Cython==0.28.1
|
pip install Cython==0.28.1
|
||||||
- name: Build Python & Kivy
|
- name: Build Python & Kivy
|
||||||
run: |
|
run: |
|
||||||
|
. venv/bin/activate
|
||||||
python toolchain.py build python3 kivy
|
python toolchain.py build python3 kivy
|
||||||
|
|
||||||
build_updated_recipes:
|
build_updated_recipes:
|
||||||
|
|
|
@ -35,7 +35,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("ERROR: Python requirements are missing")
|
print("ERROR: Python requirements are missing")
|
||||||
print("To install: pip install -r requirements.txt")
|
print("To install: pip install -r requirements.txt")
|
||||||
sys.exit(0)
|
sys.exit(1)
|
||||||
curdir = dirname(__file__)
|
curdir = dirname(__file__)
|
||||||
sys.path.insert(0, join(curdir, "tools", "external"))
|
sys.path.insert(0, join(curdir, "tools", "external"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue