Skip to content

Commit

Permalink
Add python build variants to conda build config (#304)
Browse files Browse the repository at this point in the history
* add python variants

* Update CHANGELOG.md
  • Loading branch information
lauramurgatroyd authored Aug 8, 2022
1 parent e3c7243 commit 4cc7472
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- Add a new file widgets/box_widgets.py which contains classes cilviewerBoxWidget and cilviewerLineWidget for creating Box and Line widgets on the viewer.
- Add example: BoxWidgetAroundSlice.py - which demonstrates using the above classes.
- Use the cilviewerBoxWidget class for creating and positioning the ROIWidget on the CILViewer2D, which involved removing the `CILViewer2D._truncateBox` method.
- Conda recipe:
- Add build variants for python.

## v22.2.0
- Qt examples use example_data
Expand Down
13 changes: 13 additions & 0 deletions Wrappers/Python/conda-recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
python:
- 3.6
- 3.7
- 3.8
- 3.9
- 3.10
vtk:
- 8.1.2
- 8.1.2
- 9.*
- 9.*
- 9.*

zip_keys:
- python
- vtk
4 changes: 2 additions & 2 deletions Wrappers/Python/conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ test:

requirements:
build:
- python
- python {{ python }}
- vtk {{ vtk }}

run:
- python
- python {{ python }}
- numpy
- vtk {{ vtk }}
- pyside2
Expand Down

0 comments on commit 4cc7472

Please sign in to comment.