The parent of setup.py is not in sys.path when using pyproject.toml #3134
Unanswered
hexagonrecursion
asked this question in
Q&A
Replies: 2 comments 3 replies
-
The default backend ( If you want to avoid modifying |
Beta Was this translation helpful? Give feedback.
2 replies
-
In case anyone else is experiencing the same issues: I have found the "docs" for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a
setup.py
file that is too big. Parts of it were split into separate helper files. The files are imported like this:To simplify the example
helper.py
is emptyThis works ok with pip until I try adding a
pyproject.toml
:Now I get:
It looks like the parent directory of
setup.py
is no longer insys.path
by default. Adding it manually does solve the issue:Is this a bug or a feature? Is there a better way to split out parts of setup.py?
Beta Was this translation helpful? Give feedback.
All reactions