Skip to content

fix(sphinx):adding check for PYTHONHOME #1404

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

Merged
merged 1 commit into from
Jul 6, 2015
Merged

fix(sphinx):adding check for PYTHONHOME #1404

merged 1 commit into from
Jul 6, 2015

Conversation

takotuesday
Copy link
Contributor

Closes #1403

This fixes an issue installing sphinx and setting the virtualenv when the env variable PYTHONHOME exists. Currently there is a check for PYTHONPATH, but not for PYTHONHOME.

@ericholscher
Copy link
Member

Looks good. It seems there is also an option to Python that does this, but we can continue to force it for now, since we are calling downstream binaries: https://docs.python.org/2/using/cmdline.html#cmdoption-E

ericholscher added a commit that referenced this pull request Jul 6, 2015
fix(sphinx):adding check for PYTHONHOME
@ericholscher ericholscher merged commit 28c98d4 into readthedocs:master Jul 6, 2015
@takotuesday takotuesday deleted the fix/python_path branch July 6, 2015 16:46
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.

Pip install failing to install sphinx when PYTHON_HOME is set
3 participants