From 1d6056ff509a0c5cc1a1e3cdecae7e1ed438ae4a Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Mon, 30 Aug 2021 23:00:15 -0400 Subject: [PATCH] release(1.12.0): adds dijkstra.railroad This is probably only useful for Kimimaro. It lets you find networks of zero weighted paths faster. --- dijkstra3d.cpp | 12 ++++++------ dijkstra3d.pyx | 2 +- setup.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dijkstra3d.cpp b/dijkstra3d.cpp index be25afe..d9f89c0 100644 --- a/dijkstra3d.cpp +++ b/dijkstra3d.cpp @@ -2820,7 +2820,7 @@ static const char __pyx_k_start[] = "start"; static const char __pyx_k_strip[] = "strip"; static const char __pyx_k_uint8[] = "uint8"; static const char __pyx_k_zeros[] = "zeros"; -static const char __pyx_k_1_11_0[] = "1.11.0"; +static const char __pyx_k_1_12_0[] = "1.12.0"; static const char __pyx_k_astype[] = "astype"; static const char __pyx_k_encode[] = "encode"; static const char __pyx_k_format[] = "format"; @@ -2976,7 +2976,7 @@ static const char __pyx_k_got_differing_extents_in_dimensi[] = "got differing ex static const char __pyx_k_no_default___reduce___due_to_non[] = "no default __reduce__ due to non-trivial __cinit__"; static const char __pyx_k_numpy_core_umath_failed_to_impor[] = "numpy.core.umath failed to import"; static const char __pyx_k_unable_to_allocate_shape_and_str[] = "unable to allocate shape and strides."; -static PyObject *__pyx_kp_u_1_11_0; +static PyObject *__pyx_kp_u_1_12_0; static PyObject *__pyx_n_s_ASCII; static PyObject *__pyx_kp_s_Buffer_view_does_not_expose_stri; static PyObject *__pyx_kp_s_Can_only_create_a_buffer_that_is; @@ -37121,7 +37121,7 @@ static struct PyModuleDef __pyx_moduledef = { #endif static __Pyx_StringTabEntry __pyx_string_tab[] = { - {&__pyx_kp_u_1_11_0, __pyx_k_1_11_0, sizeof(__pyx_k_1_11_0), 0, 1, 0, 0}, + {&__pyx_kp_u_1_12_0, __pyx_k_1_12_0, sizeof(__pyx_k_1_12_0), 0, 1, 0, 0}, {&__pyx_n_s_ASCII, __pyx_k_ASCII, sizeof(__pyx_k_ASCII), 0, 0, 1, 1}, {&__pyx_kp_s_Buffer_view_does_not_expose_stri, __pyx_k_Buffer_view_does_not_expose_stri, sizeof(__pyx_k_Buffer_view_does_not_expose_stri), 0, 0, 1, 0}, {&__pyx_kp_s_Can_only_create_a_buffer_that_is, __pyx_k_Can_only_create_a_buffer_that_is, sizeof(__pyx_k_Can_only_create_a_buffer_that_is), 0, 0, 1, 0}, @@ -38337,7 +38337,7 @@ if (!__Pyx_RefNanny) { * cimport numpy as cnp * import numpy as np # <<<<<<<<<<<<<< * - * __VERSION__ = '1.11.0' + * __VERSION__ = '1.12.0' */ __pyx_t_1 = __Pyx_Import(__pyx_n_s_numpy, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 36, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -38347,11 +38347,11 @@ if (!__Pyx_RefNanny) { /* "dijkstra3d.pyx":38 * import numpy as np * - * __VERSION__ = '1.11.0' # <<<<<<<<<<<<<< + * __VERSION__ = '1.12.0' # <<<<<<<<<<<<<< * * ctypedef fused UINT: */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_VERSION, __pyx_kp_u_1_11_0) < 0) __PYX_ERR(0, 38, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_VERSION, __pyx_kp_u_1_12_0) < 0) __PYX_ERR(0, 38, __pyx_L1_error) /* "dijkstra3d.pyx":46 * uint64_t diff --git a/dijkstra3d.pyx b/dijkstra3d.pyx index f441767..844b4ed 100644 --- a/dijkstra3d.pyx +++ b/dijkstra3d.pyx @@ -35,7 +35,7 @@ from libcpp.vector cimport vector cimport numpy as cnp import numpy as np -__VERSION__ = '1.11.0' +__VERSION__ = '1.12.0' ctypedef fused UINT: uint8_t diff --git a/setup.py b/setup.py index bd3d756..1a3ede5 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def read(fname): setuptools.setup( name="dijkstra3d", - version="1.11.0", + version="1.12.0", python_requires="~=3.6", # >= 3.6 < 4.0 setup_requires=['numpy'], ext_modules=[