Robin
09/10/2020, 4:02 PMfabian wolfmann
09/10/2020, 4:07 PMbral
09/10/2020, 4:35 PMSeverin Ryberg [sevberg]
09/10/2020, 4:45 PMfabian wolfmann
09/10/2020, 4:51 PMsetup.py
with Prefect as dependency and make pip install -e .
with -e flag you say its editable package and it updated every time you call your package, im working like this and have no issueSeverin Ryberg [sevberg]
09/10/2020, 5:00 PMfabian wolfmann
09/10/2020, 5:08 PMbral
09/10/2020, 5:42 PMRobin
09/10/2020, 6:51 PMpip install -e .
?
2. How to install the custom package in the prefect environment (a dask-kubernetes cluster on AWS EKS in our case)?In your case you can add your local pypi server in pip.conf inside docker image
@bral , could you elaborate on this?pip install -e .
?
https://stackoverflow.com/questions/44708481/how-to-install-local-packages-using-pip-as-part-of-a-docker-buildbral
09/10/2020, 6:59 PMRobin
09/10/2020, 7:09 PMSeverin Ryberg [sevberg]
09/14/2020, 7:56 AMextra_dockerfile_commands=["RUN pip install -e /path/to/module/in/image", ]
Robin
09/26/2020, 9:11 AM-e
does probably not make so much sense and might break some python packages (e.g. snowflake-connector-python
) in some cases.Severin Ryberg [sevberg]
10/01/2020, 11:51 AM