8 lines
274 B
Python
8 lines
274 B
Python
import logging
|
|
import os
|
|
log = logging.getLogger(__name__)
|
|
|
|
|
|
log.info("begin install requirements")
|
|
os.system("pip install -I -r /opt/airflow/dags/repo/dags/requirements.txt -i https://repo.fangjia.com/repository/pypi-public/simple/")
|
|
log.info("finish install requirements") |