Skip to content

Ensure viable PYTHONPATH when executing environmentally configured python. #60

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

Closed
wants to merge 1 commit into from

Conversation

albu-diku
Copy link
Contributor

Doing so means that we support the ability to execute arbitrary scripts within the tree directly via our wrappers - which one needs to do anyway to have a full assortment of the requisite dependencies - while avoiding the need to alter sys.path in non-test files.

While here drop an init.py file in the tests folder thus allowing tests to be accessible as modules in the tests. and thus allows easily specifying specific tests to be run with unitttest.

…thon.

Doing so means that we support the ability to execute arbitrary scripts
within the tree directly via our wrappers - which one needs to do anyway
to have a full assortment of the requisite dependencies - wbile avoiding
the need to alter sys.path in non-test files.

While here drop an __init__.py file in the tests folder thus allowing
tests to be accessible as modules in the tests.<filename> and thus
allows easily specifying specific tests to be run with unitttest.
@jonasbardino
Copy link
Contributor

Thanks, manually merged through svn now.

@jonasbardino
Copy link
Contributor

...and sorry for my off-by-one error in the commit messages. It was really this PR60 and not PR61 I recently merged.

@albu-diku albu-diku deleted the addition/envhelp-pythonpath branch June 19, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants