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

Custom filter modules not in site-packages #70

Open
moggers87 opened this issue Sep 29, 2019 · 0 comments
Open

Custom filter modules not in site-packages #70

moggers87 opened this issue Sep 29, 2019 · 0 comments

Comments

@moggers87
Copy link
Owner

Filter modules defined in the current working directory (or anywhere that's not site packages) are not easily used (you get an import error) and it is impossible to use import_module to do relative imports without specifying a package. A quick workaround for this is to prepend PYTHONPATH=. to every exhibition command.

We should either:

  • detect when a relative import is being used set the cwd as the package, or
  • allow the user to set additional import search paths via site.yaml
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