Should not import a modlule in its build directory

This commit is contained in:
Jorrit Wronski
2014-11-26 12:20:03 +01:00
parent 7e0ac411ee
commit 7bd09b694f

View File

@@ -257,7 +257,7 @@ def websiteFactory(platform, gitMode='incremental', fullBuild=False):
# Install the latest CoolProp system-wide - Migh cause errors if not run in virtual environment
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "python", "setup.py", "install"]), workdir= 'build/wrappers/Python', haltOnFailure = True))
# Test the compiled CoolProp
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "python", "-c", "\"import CoolProp; print(CoolProp.__gitrevision__)\""]), workdir= 'build/wrappers/Python', haltOnFailure = True))
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "python", "-c", "\"import CoolProp; print(CoolProp.__gitrevision__)\""]), workdir= 'build/wrappers', haltOnFailure = True))
# Create plots and fluid tables
factory.addStep(ShellCommand(command=fullBuildCommand, workdir= 'build/Web/scripts', haltOnFailure = True))
# Run doxygen build