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

Need to add src to all paths to import pubmetric #39

Open
almanilsson opened this issue Aug 30, 2024 · 0 comments
Open

Need to add src to all paths to import pubmetric #39

almanilsson opened this issue Aug 30, 2024 · 0 comments

Comments

@almanilsson
Copy link
Collaborator

I can not directly import pubmetric. I need to add 'src' to the filepath for it to import correctly

sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), 'src')))

My temporary fix is adding a config file to the test directory which adds this to all test files imports.

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