Skip to content

Commit a2c1f7c

Browse files
authored
Merge pull request #1233 from CadQuery/envyml-fix
environment.yml cleanup
2 parents 4745ad1 + 0b19ed8 commit a2c1f7c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

environment.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: cadquery
22
channels:
33
- cadquery
44
- conda-forge
5-
- defaults
65
dependencies:
76
- python>=3.8
87
- ipython
@@ -23,9 +22,8 @@ dependencies:
2322
- nlopt
2423
- path
2524
- casadi
25+
- multimethod >=1.7,<2.0
2626
- pip
2727
- pip:
28-
- "--install-option=\"--no-deps\""
29-
- "--editable=."
30-
- sphinxcadquery
31-
- multimethod>=1.7,<2.0
28+
- --editable=.
29+
- git+https://github.com/CadQuery/OCP-stubs.git

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)