This commit is contained in:
Ian Bell
2016-04-01 09:47:46 -06:00

View File

@@ -391,8 +391,8 @@ def websiteFactory(platform, fullBuild=False):
#
# Create the factory to add the actions to
factory = getBaseFactory()
# Upgrade cython if needed
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "install", "--upgrade", "cython"]), workdir= 'build/wrappers/Python', haltOnFailure = True))
## Upgrade cython if needed
#factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "install", "--upgrade", "cython"]), workdir= 'build/wrappers/Python', haltOnFailure = True))
# Make a wheel - this is advantageous because it forces pip to uninstall coolprop, ensuring that all files installed are from this wheel
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "python", "setup.py", "bdist_wheel", '--dist-dir', 'dist']), workdir= 'build/wrappers/Python', haltOnFailure = True))
# List the files in the dist directory
@@ -462,8 +462,8 @@ def pythonFactory(pyID, pyCFG=PythonSlaveConfig("name")):
#
# Create the factory to add the actions to
factory = getBaseFactory()
# Upgrade cython
factory.addStep(ShellCommand(command=combinedCMD('pip install --upgrade cython'), workdir=workingFolder, haltOnFailure=True))
## Upgrade cython
#factory.addStep(ShellCommand(command=combinedCMD('pip install --upgrade cython'), workdir=workingFolder, haltOnFailure=True))
#
# Install dependencies
if installPackages and False: # disabled