How to pip install different subdirectories from same repo?

54 views Asked by At

I have an installation of Airflow in my requirements.in file -e [email protected]:apache/airflow.git#egg=apache-airflow and I want another line that will install the backport providers Google package with a cherry picked commit from my own fork.

-e [email protected]:myfork/airflow.git#egg=apache-airflow&subdirectory=airflow/operators/google but when compiling the requirements (piptools) I get an error saying that apache-airflow/airflow/providers/google cannot be found.

How can you pip install from the same repo under different directories? e.g. one for the full Airflow installation and the second for just the backport package under airflow.providers.google

0

There are 0 answers