Hello. I have the following issue: I have a monore...
# general
c
Hello. I have the following issue: I have a monorepo where the pex_binary includes a manage.py (django) and includes a dependency in the same path. Since the dependency includes the absolute path to this dependency, the pex has a different "root" path. Hence the dependency cannot be found, since the path to this dependency starts at root and not in the same folder as the manage.py (I hope that makes sense what I am saying). Is there a way to tell the pex binary and its dependencies to only look at the dependencies from this relative place? Otherwise I get the error:
Note that only Django core commands are listed as settings are not properly configured (error: No module named 'test_config').
Even though
./pants depedencies ::
shows that test_config is included, just as
backend/test_config/
.
1
Nevermind - Found it. The problem was the source root_patterns which defaults did not align with mine.
1