Ignoring SCM version reqs for Azure

This commit is contained in:
Jeremy Wright
2022-05-20 16:31:50 -04:00
parent d09334c66d
commit 7197eeaf61

View File

@ -22,13 +22,16 @@ setup_reqs = []
# ReadTheDocs and AppVeyor will break if we do not handle the separately # ReadTheDocs and AppVeyor will break if we do not handle the separately
is_rtd = False is_rtd = False
is_appveyor = False is_appveyor = False
is_azure = False
if "READTHEDOCS" in os.environ: if "READTHEDOCS" in os.environ:
is_rtd = os.environ["READTHEDOCS"] is_rtd = os.environ["READTHEDOCS"]
if "APPVEYOR" in os.environ: if "APPVEYOR" in os.environ:
is_appveyor = os.environ["APPVEYOR"] is_appveyor = os.environ["APPVEYOR"]
if "TF_BUILD" in os.environ:
is_azure = os.environ["TF_BUILD"]
# Only include the installation dependencies if we are not running on RTD or AppVeyor # Only include the installation dependencies if we are not running on RTD or AppVeyor
if not is_rtd and not is_appveyor: if not is_rtd and not is_appveyor and not is_azure:
reqs = [ reqs = [
"cadquery-ocp", "cadquery-ocp",
"ezdxf", "ezdxf",