Create and keep virtualenv in the current (build) directory

This commit is contained in:
vitaut committed 2015-05-18 08:09:26 -07:00
1 parent 0e28acdd05
commit 4c1a0303aa
2 files changed
+2 -7

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
/_CPack_Packages
/doc/doxyxml
/doc/html
/doc/virtualenv
/Testing
/install_manifest.txt
*~
+1 -7
View File
@@ -53,11 +53,5 @@ def build_docs(workdir, travis):
returncode = 1
travis = 'TRAVIS' in os.environ
workdir = tempfile.mkdtemp()
try:
returncode = build_docs(workdir, travis=travis)
finally:
# Don't remove workdir on Travis because the VM is discarded anyway.
if not travis:
shutil.rmtree(workdir)
returncode = build_docs('', travis=travis)
exit(returncode)