Skip to content

Commit e0e18bb

Browse files
Do not install reqs when running inside conda
1 parent 894d109 commit e0e18bb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
is_rtd = "READTHEDOCS" in os.environ
2222
is_appveyor = "APPVEYOR" in os.environ
2323
is_azure = "CONDA_PY" in os.environ
24+
is_conda = "CONDA_PREFIX_1" in os.environ
2425

25-
# Only include the installation dependencies if we are not running on RTD or AppVeyor
26-
if not is_rtd and not is_appveyor and not is_azure:
26+
# Only include the installation dependencies if we are not running on RTD or AppVeyor or in a conda env
27+
if not is_rtd and not is_appveyor and not is_azure and not is_conda:
2728
reqs = [
2829
"cadquery-ocp>=7.6,<7.7",
2930
"ezdxf",

0 commit comments

Comments
 (0)