mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Re-enabling Python builds on Linux, but skip the binary upload
This commit is contained in:
@@ -430,23 +430,23 @@ def pythonFactory(pyID, pyCFG=PythonSlaveConfig("name")):
|
||||
# Create the factory to add the actions to
|
||||
factory = getBaseFactory()
|
||||
#
|
||||
if buildPyPI:
|
||||
# Install dependencies
|
||||
if installPackages and False: # disabled
|
||||
installCMD = " ".join(["pip", "install"]) + " " + " ".join(pkgs)
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
installCMD = " ".join(["python", "generate_meta_info.py"])
|
||||
# Install dependencies
|
||||
if installPackages and False: # disabled
|
||||
installCMD = " ".join(["pip", "install"]) + " " + " ".join(pkgs)
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
if installPackages and False: # disabled
|
||||
installCMD = " ".join(["pip", "install","-r","requirements.txt"])
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
# setuptools installation for PyPI packages
|
||||
factory.addStep(RemoveDirectory(dir=os.path.join('build',installFolder), haltOnFailure = False))
|
||||
installCMD = " ".join(["python", "setup.py"] + pyins)
|
||||
installCMD = " ".join(["python", "generate_meta_info.py"])
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
if installPackages and False: # disabled
|
||||
installCMD = " ".join(["pip", "install","-r","requirements.txt"])
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
installCMD = " ".join(["python", "setup.py", "clean"])
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
upload_command(factory, installFolder, pyID=pyID)
|
||||
# setuptools installation for PyPI packages
|
||||
factory.addStep(RemoveDirectory(dir=os.path.join('build',installFolder), haltOnFailure = False))
|
||||
installCMD = " ".join(["python", "setup.py"] + pyins)
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
installCMD = " ".join(["python", "setup.py", "clean"])
|
||||
factory.addStep(ShellCommand(command=combinedCMD(installCMD), workdir=workingFolder, haltOnFailure=True))
|
||||
if buildPyPI:
|
||||
upload_command(factory, installFolder, pyID=pyID)
|
||||
|
||||
if buildConda:
|
||||
# Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user