1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00
ScreenPlay/Tools/install_requirements.py
Elias Steurer 8ca09c684d Add automatic build uploads to kelteseth.com
Add choco build and docs for pushing
2022-08-07 12:24:07 +02:00

13 lines
357 B
Python

#!/usr/bin/python3
import os
import sys
import subprocess
def install_requirements():
print("Set up required python modules")
script_path = os.path.dirname(os.path.realpath(__file__))
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", script_path + "/requirements.txt"])
if __name__ == "__main__":
install_requirements()