Ignoring SCM version reqs for Azure
This commit is contained in:
5
setup.py
5
setup.py
@ -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",
|
||||||
|
Reference in New Issue
Block a user