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

copy sys.path to the worker process #27

Merged
merged 1 commit into from
May 18, 2017
Merged

Conversation

mmerickel
Copy link
Member

fixes #25

…NPATH

zc.buildout directly enhances sys.path of a process and thus the
path is not inherited by any children. This fix puts hupper on the
PYTHONPATH such that it is importable in the worker process. Finally it
copies the entire sys.path to the worker to restore any virtualenv-like
path settings that existed in the parent.

fixes #25
@mmerickel mmerickel merged commit af34cec into master May 18, 2017
mmerickel added a commit that referenced this pull request May 18, 2017
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

Successfully merging this pull request may close these issues.

copy sys.path to the child process
1 participant