Skip to content
New issue

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

Use sys.path.append("..") instead of named module #8

Open
dtrckd opened this issue Jul 17, 2022 · 0 comments
Open

Use sys.path.append("..") instead of named module #8

dtrckd opened this issue Jul 17, 2022 · 0 comments

Comments

@dtrckd
Copy link
Owner

dtrckd commented Jul 17, 2022

If someone clone a pymake directory to a new name, the import will fail as we use the name of the root repo in the modules.

  • One way is to add sys.path.append("..") in every module file generated (under spec/, script/ and model/)
  • how to handle module in pmk.cfg ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant