-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from seung-lab/wms_multilabel_dilate
feat: multilabel dilation, erosion, opening, and closing
- Loading branch information
Showing
11 changed files
with
883 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build Wheels | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- '*' | ||
env: | ||
CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* pp27* pp36* pp37* pp38* pp39* pp310* *-musllinux* cp312-manylinux_i686 | ||
|
||
jobs: | ||
build_wheels: | ||
name: Build wheels on ${{matrix.arch}} for ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-2019, macos-latest] | ||
arch: [auto] | ||
include: | ||
- os: ubuntu-latest | ||
arch: aarch64 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up QEMU | ||
if: ${{ matrix.arch == 'aarch64' }} | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
# to supply options, put them in 'env', like: | ||
env: | ||
CIBW_ARCHS_LINUX: ${{matrix.arch}} | ||
CIBW_BEFORE_BUILD: pip install oldest-supported-numpy pybind11 wheel | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/zsh | ||
|
||
source ~/.zprofile | ||
|
||
function compile_wheel { | ||
workon fm$1 | ||
pip install oldest-supported-numpy pybind11 setuptools wheel | ||
pip install edt fastremap fill-voids connected-components-3d | ||
python setup.py bdist_wheel | ||
} | ||
|
||
compile_wheel 38 | ||
compile_wheel 39 | ||
compile_wheel 310 | ||
compile_wheel 311 | ||
compile_wheel 312 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.