Hi @<1594863230964994048:profile|DangerousBee35> ! This looks like an ok solution, but I would make the package pip-installable and push it to another repo, then add that repo to a requirements file such that the agent can install it. Other than that, I can’t really think of another easy way to use your package
Hi, I am running a script from a git repository.
in the repository there is a package that i wrote and i would like the script that i am running to be able to import it, thus I need to add the package path to python path.
|- my repo |- my package |- scripts |- my script
how can I make the agent add the path to the package (which is inside the repo that is downloaded)?
the simplest solution is to add the following lines to the script:
import sys sys.path.append(...)
is there another solution to achieve the same result?