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.
Files changed (66) hide show
  1. partsegcore_compiled_backend-0.15.7/.github/dependabot.yml +10 -0
  2. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/.github/workflows/wheels.yml +2 -8
  3. {PartSegCore_compiled_backend-0.15.5/src/PartSegCore_compiled_backend.egg-info → partsegcore_compiled_backend-0.15.7}/PKG-INFO +1 -1
  4. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/build_utils/build_libomp.sh +4 -2
  5. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/pyproject.toml +5 -2
  6. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/fast_unique.py +1 -0
  7. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/find_split.py +1 -0
  8. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/version.py +2 -2
  9. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7/src/PartSegCore_compiled_backend.egg-info}/PKG-INFO +1 -1
  10. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/SOURCES.txt +1 -0
  11. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/.gitignore +0 -0
  12. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/.readthedocs.yaml +0 -0
  13. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/License.txt +0 -0
  14. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/MANIFEST.in +0 -0
  15. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/Readme.md +0 -0
  16. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/Makefile +0 -0
  17. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/calc_bounds.rst +0 -0
  18. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/conf.py +0 -0
  19. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/fast_unique.rst +0 -0
  20. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/index.rst +0 -0
  21. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/make.bat +0 -0
  22. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/napari_mapping.rst +0 -0
  23. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/docs/sprawl_utils.rst +0 -0
  24. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/notebooks/data_util.py +0 -0
  25. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/notebooks/performance_label_unique.ipynb +0 -0
  26. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/notebooks/performance_napari.ipynb +0 -0
  27. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/setup.cfg +0 -0
  28. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/setup.py +0 -0
  29. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/__init__.py +0 -0
  30. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/_fast_unique.pyi +0 -0
  31. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/_fast_unique.pyx +0 -0
  32. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/_napari_mapping.pyx +0 -0
  33. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/calc_bounds.pyi +0 -0
  34. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/calc_bounds.pyx +0 -0
  35. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/color_image_cython.pyi +0 -0
  36. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/color_image_cython.pyx +0 -0
  37. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/__init__.py +0 -0
  38. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso.cpp +0 -0
  39. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso.h +0 -0
  40. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso_bind.pyi +0 -0
  41. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/mso_bind.pyx +0 -0
  42. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/multiscale_opening/my_queue.h +0 -0
  43. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/napari_mapping.py +0 -0
  44. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/__init__.py +0 -0
  45. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/distance_utils.pxd +0 -0
  46. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/euclidean_cython.pyi +0 -0
  47. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/euclidean_cython.pyx +0 -0
  48. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/find_split.pyi +0 -0
  49. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/fuzzy_distance.pyx +0 -0
  50. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/global_consts.h +0 -0
  51. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/my_queue.h +0 -0
  52. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/path_sprawl_cython.pyi +0 -0
  53. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/path_sprawl_cython.pyx +0 -0
  54. {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
  55. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/sprawl_utils.pyi +0 -0
  56. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/sprawl_utils/sprawl_utils.pyx +0 -0
  57. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend/utils.py +0 -0
  58. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/dependency_links.txt +0 -0
  59. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/requires.txt +0 -0
  60. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/PartSegCore_compiled_backend.egg-info/top_level.txt +0 -0
  61. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_calc_bounds.py +0 -0
  62. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_coloring.py +0 -0
  63. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_fast_unique.py +0 -0
  64. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_napari_mapping.py +0 -0
  65. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_sprawl_utils/__init__.py +0 -0
  66. {PartSegCore_compiled_backend-0.15.5 → partsegcore_compiled_backend-0.15.7}/src/tests/test_sprawl_utils/test_euclidean.py +0 -0
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
7
+ groups:
8
+ actions:
9
+ patterns:
10
+ - "actions/*"
@@ -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.16.2
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PartSegCore_compiled_backend
3
- Version: 0.15.5
3
+ Version: 0.15.7
4
4
  Summary: PartSegCore compiled backend,
5
5
  Author-email: Grzegorz Bokota <g.bokota@cent.uw.edu.pl>
6
6
  License: BSD-3-Clause
@@ -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
- git clone --depth 1 --branch llvmorg-11.1.0 https://github.com/llvm/llvm-project
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>=42.0.0", "Cython", "numpy>=1.25", "setuptools_scm[toml]>=3.4"] # PEP 508 specifications.
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 = "bash {project}/build_utils/build_libomp.sh"
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
@@ -1,6 +1,7 @@
1
1
  """
2
2
  This module contains function to perform multiple component sprawl (watershed like)
3
3
  """
4
+
4
5
  import logging
5
6
  import os
6
7
  import typing
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.15.5'
16
- __version_tuple__ = version_tuple = (0, 15, 5)
15
+ __version__ = version = '0.15.7'
16
+ __version_tuple__ = version_tuple = (0, 15, 7)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PartSegCore_compiled_backend
3
- Version: 0.15.5
3
+ Version: 0.15.7
4
4
  Summary: PartSegCore compiled backend,
5
5
  Author-email: Grzegorz Bokota <g.bokota@cent.uw.edu.pl>
6
6
  License: BSD-3-Clause
@@ -5,6 +5,7 @@ MANIFEST.in
5
5
  Readme.md
6
6
  pyproject.toml
7
7
  setup.py
8
+ .github/dependabot.yml
8
9
  .github/workflows/wheels.yml
9
10
  build_utils/build_libomp.sh
10
11
  docs/Makefile