Replies: 1 comment 5 replies
-
The workspace solution should work - if you have a "rye init"ed pyproject for each of the directories a, b, bt/b_service, bt/t_service and their requisite folder structure (the usual one is project/src/package_name, as you can see rye init creates). Workspace members is not for python packages (those directories with As for the hatch solution - that should work too - what's the error there? That's without creating a workspace and multiple projects. More information needed, maybe a minimal reproducing example. |
Beta Was this translation helpful? Give feedback.
5 replies
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.
-
Previously, I manually imported the contents of these folders (the current directory and the bt directory, etc.) by using
PYTHONPATH=$(pwd):$(pwd)/bt:$(pwd)/bt/b_service:$(pwd)/bt/t_service
This is because my project has many sub-projects, and I want to add them to the
PYTHONPATH
in bulk.so i try :
or
But this doesn't seem to work. How should I set it up to correctly run rye run "my-rye-script" ?
and now i get this error msg
I'm still a newbie in this area, so any advice would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions