Skip to content

Commit

Permalink
Merge pull request #4852 from stsewd/use-home-as-cwd-for-venv
Browse files Browse the repository at this point in the history
Use $HOME as CWD for virtualenv creation
  • Loading branch information
ericholscher authored Nov 5, 2018
2 parents a6120f4 + 69eb9f4 commit ee282a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions readthedocs/doc_builder/python_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,10 @@ def setup_base(self):
site_packages,
'--no-download',
env_path,
bin_path=None, # Don't use virtualenv bin that doesn't exist yet
cwd=self.checkout_path,
# Don't use virtualenv bin that doesn't exist yet
bin_path=None,
# Don't use the project's root, some config files can interfere
cwd='$HOME',
)

def install_core_requirements(self):
Expand Down

0 comments on commit ee282a5

Please sign in to comment.