Skip to content

Commit

Permalink
Merge pull request #1233 from CadQuery/envyml-fix
Browse files Browse the repository at this point in the history
environment.yml cleanup
  • Loading branch information
jmwright authored Jan 14, 2023
2 parents 4745ad1 + 0b19ed8 commit a2c1f7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 3 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: cadquery
channels:
- cadquery
- conda-forge
- defaults
dependencies:
- python>=3.8
- ipython
Expand All @@ -23,9 +22,8 @@ dependencies:
- nlopt
- path
- casadi
- multimethod >=1.7,<2.0
- pip
- pip:
- "--install-option=\"--no-deps\""
- "--editable=."
- sphinxcadquery
- multimethod>=1.7,<2.0
- --editable=.
- git+https:/CadQuery/OCP-stubs.git
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
is_rtd = "READTHEDOCS" in os.environ
is_appveyor = "APPVEYOR" in os.environ
is_azure = "CONDA_PY" in os.environ
is_conda = "CONDA_PREFIX_1" in os.environ

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

0 comments on commit a2c1f7c

Please sign in to comment.