We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm struggling configuring PyOxidizer for a monorepo scenario.
My project has the following structure:
The intention is to bundle executable for the proj1's CLI. CLI code imports some submodules, e.g. proj1.lib.module1.
exe.read_package_root doesn't seem to be a lot help. E.g.:
exe.read_package_root
exe.add_python_resources(exe.read_package_root( path = ".", packages = ["cli"], )) exe.add_python_resources(exe.read_package_root( path = "./lib", packages = ["module1"], ))
will end up copying cli and module1 packages to the top level, where from proj1.lib.module1 imports won't be resolved.
cli
module1
from proj1.lib.module1
The only workaround worked was copying needed modules to a temp folder:
exe.add_python_resources(exe.read_package_root( path = "./dist", packages = ["proj1"], ))
Which seems too dirty and needs an extra configuration layer before running pyoxidizer build.
pyoxidizer build
Would appreciate an example if it's feasible to package sources for such case.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm struggling configuring PyOxidizer for a monorepo scenario.
My project has the following structure:
The intention is to bundle executable for the proj1's CLI. CLI code imports some submodules, e.g. proj1.lib.module1.
exe.read_package_root
doesn't seem to be a lot help. E.g.:will end up copying
cli
andmodule1
packages to the top level, wherefrom proj1.lib.module1
imports won't be resolved.The only workaround worked was copying needed modules to a temp folder:
Which seems too dirty and needs an extra configuration layer before running
pyoxidizer build
.Would appreciate an example if it's feasible to package sources for such case.
The text was updated successfully, but these errors were encountered: