Skip to content

Commit

Permalink
Use $HOME as CWD for virtualenv creation
Browse files Browse the repository at this point in the history
Closes #4808
  • Loading branch information
stsewd committed Nov 2, 2018
1 parent bc248aa commit 69eb9f4
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 69eb9f4

Please sign in to comment.