:wave: Hi everyone! I am trying to setup pants on...
# general
t
👋 Hi everyone! I am trying to setup pants on a python project with multiple libraries in a mono repo, and a django project hosting 2 apps (that are also separated) from the folder containing the django project. However, when running a
pants run myproject:launch
target, python complains that django is not installed, although it is in a pyproject.toml, at the root of the django project, containing the dependencies (+ the poetry.lock has been correctly generated as well). Any idea what could be wrong at this point ?
1
ok got it, I had to make the
pex_binary
depends on the
dependencies
target (
poetry_requirements
).
👍 1
g
I'm glad you got it working, but Pants should figure this out for you -- the engine will parse your Python code to figure out your dependencies and automatically add them, if everything is enabled/set up correctly.