sphinx build does a local install of python

This commit is contained in:
Ian Bell
2014-08-15 00:44:52 +02:00
parent 60326a04b6
commit fd55d9a479

View File

@@ -86,7 +86,9 @@ def sphinx_slave(platform, git_mode = 'incremental'):
# Check out sources
factory.addStep(Git(repourl='git://github.com/CoolProp/CoolProp', mode=git_mode, submodules = True, progress=True, haltOnFailure = True))
# Run sphinx build
factory.addStep(ShellCommand(command=["python", "setup.py", "install", "--install-dir", "."], workdir= 'build/wrappers/Python', haltOnFailure = True))
factory.addStep(ShellCommand(command=["python", "setup.py", "install", "--user"], workdir= 'build/wrappers/Python', haltOnFailure = True))
# Run sphinx build
factory.addStep(ShellCommand(command=["python", "-c", "\"import CoolProp; print(CoolProp.__file___)\""], workdir= 'build/wrappers/Python', haltOnFailure = True))
# Run sphinx apidoc
#factory.addStep(ShellCommand(command=["sphinx-apidoc","-T","-f","-o","apidoc","../CoolProp"],workdir= 'build/Web', haltOnFailure = True))
# Run sphinx build