PartSegCore-compiled-backend 0.15.5__tar.gz → 0.15.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- partsegcore_compiled_backend-0.15.7/.github/dependabot.yml +10 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/.github/workflows/wheels.yml +2 -8
- {PartSegCore_compiled_backend-0.15.5/src/PartSegCore_compiled_backend.egg-info → partsegcore_compiled_backend-0.15.7}/PKG-INFO +1 -1
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/build_utils/build_libomp.sh +4 -2
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/pyproject.toml +5 -2
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/fast_unique.py +1 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/find_split.py +1 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/version.py +2 -2
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7/src/PartSegCore_compiled_backend.egg-info}/PKG-INFO +1 -1
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/SOURCES.txt +1 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/.gitignore +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/.readthedocs.yaml +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/License.txt +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/MANIFEST.in +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/Readme.md +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/Makefile +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/calc_bounds.rst +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/conf.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/fast_unique.rst +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/index.rst +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/make.bat +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/napari_mapping.rst +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/sprawl_utils.rst +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/notebooks/data_util.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/notebooks/performance_label_unique.ipynb +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/notebooks/performance_napari.ipynb +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/setup.cfg +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/setup.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/__init__.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/_fast_unique.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/_fast_unique.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/_napari_mapping.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/calc_bounds.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/calc_bounds.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/color_image_cython.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/color_image_cython.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/__init__.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso.cpp +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso.h +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso_bind.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso_bind.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/my_queue.h +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/napari_mapping.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/__init__.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/distance_utils.pxd +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/euclidean_cython.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/euclidean_cython.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/find_split.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/fuzzy_distance.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/global_consts.h +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/my_queue.h +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/path_sprawl_cython.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/path_sprawl_cython.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/put_borders_in_queue.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/sprawl_utils.pyi +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/sprawl_utils.pyx +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/utils.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/dependency_links.txt +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/requires.txt +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/top_level.txt +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_calc_bounds.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_coloring.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_fast_unique.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_napari_mapping.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_sprawl_utils/__init__.py +0 -0
- {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_sprawl_utils/test_euclidean.py +0 -0
|
@@ -49,20 +49,14 @@ jobs:
|
|
|
49
49
|
strategy:
|
|
50
50
|
fail-fast: false
|
|
51
51
|
matrix:
|
|
52
|
-
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
52
|
+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
53
53
|
|
|
54
54
|
steps:
|
|
55
55
|
- uses: actions/checkout@v4
|
|
56
56
|
with:
|
|
57
57
|
fetch-depth: 0
|
|
58
|
-
|
|
59
|
-
- if: runner.os == 'macOS'
|
|
60
|
-
run: brew install openblas
|
|
61
|
-
|
|
62
58
|
- name: Build wheels
|
|
63
|
-
uses: pypa/cibuildwheel@v2.
|
|
64
|
-
env:
|
|
65
|
-
OPENBLAS: "$(brew --prefix openblas)"
|
|
59
|
+
uses: pypa/cibuildwheel@v2.19.1
|
|
66
60
|
|
|
67
61
|
- uses: actions/upload-artifact@v4
|
|
68
62
|
with:
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
3
3
|
build_dir=${DIR}/libs_build
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
echo MACOSX_DEPLOYMENT_TARGET $MACOSX_DEPLOYMENT_TARGET
|
|
6
|
+
|
|
7
|
+
git clone --depth 1 --branch llvmorg-17.0.6 https://github.com/llvm/llvm-project
|
|
6
8
|
pushd llvm-project/openmp
|
|
7
9
|
mkdir build
|
|
8
10
|
cd build
|
|
9
11
|
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
|
|
10
12
|
make
|
|
11
|
-
make install
|
|
13
|
+
sudo make install
|
|
12
14
|
|
|
13
15
|
popd
|
|
14
16
|
rm -rf llvm-project
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[build-system]
|
|
2
2
|
# Minimum requirements for the build system to execute.
|
|
3
|
-
requires = ["setuptools>=
|
|
3
|
+
requires = ["setuptools>=70.0.0", "Cython", "numpy>=2", "setuptools_scm[toml]>=8.1"] # PEP 508 specifications.
|
|
4
4
|
build-backend = "setuptools.build_meta"
|
|
5
5
|
|
|
6
6
|
[project]
|
|
@@ -116,7 +116,10 @@ skip = "pp*macos* pp31*"
|
|
|
116
116
|
build = "*64"
|
|
117
117
|
|
|
118
118
|
[tool.cibuildwheel.macos]
|
|
119
|
-
before-all =
|
|
119
|
+
before-all = [
|
|
120
|
+
"set",
|
|
121
|
+
"bash {project}/build_utils/build_libomp.sh",
|
|
122
|
+
]
|
|
120
123
|
|
|
121
124
|
|
|
122
125
|
[tool.ruff]
|
|
@@ -6,6 +6,7 @@ If data are not continuous memory this function is faster than pandas.unique.
|
|
|
6
6
|
|
|
7
7
|
For benchmark please see https://github.com/4DNucleome/PartSegCore-compiled-backend/blob/master/notebooks/performance_label_unique.ipynb
|
|
8
8
|
"""
|
|
9
|
+
|
|
9
10
|
import numpy as np
|
|
10
11
|
|
|
11
12
|
from ._fast_unique import unique1d, unique2d, unique3d
|
|
File without changes
|
{PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/.readthedocs.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/calc_bounds.rst
RENAMED
|
File without changes
|
|
File without changes
|
{PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/fast_unique.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/napari_mapping.rst
RENAMED
|
File without changes
|
{PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/sprawl_utils.rst
RENAMED
|
File without changes
|
{PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/notebooks/data_util.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|