cytriangle 1.0.3__tar.gz → 2.0.0__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.

Potentially problematic release.


This version of cytriangle might be problematic. Click here for more details.

@@ -1,27 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: cytriangle
3
- Version: 1.0.3
3
+ Version: 2.0.0
4
4
  Summary: Object-oriented Cython wrapper of Shewchuk's Triangle Library
5
- Home-page: https://github.com/m-clare/cytriangle
6
5
  License: LGPL 3.0
7
6
  Keywords: finite-element-analysis,triangular-meshing,mesh,FEA,triangle
8
7
  Author: Maryanne Wachter
9
8
  Author-email: mclare@utsv.net
10
9
  Maintainer: Maryanne Wachter
11
10
  Maintainer-email: mclare@utsv.net
12
- Requires-Python: >=3.9
11
+ Requires-Python: >=3.10
13
12
  Classifier: Development Status :: 4 - Beta
14
13
  Classifier: Environment :: Console
15
14
  Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
16
15
  Classifier: License :: Other/Proprietary License
17
16
  Classifier: Natural Language :: English
18
17
  Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.9
20
18
  Classifier: Programming Language :: Python :: 3.10
21
19
  Classifier: Programming Language :: Python :: 3.11
22
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
23
22
  Classifier: Topic :: Scientific/Engineering
24
- Requires-Dist: numpy (>=1.25.2)
23
+ Requires-Dist: numpy (>=2.1.2)
24
+ Project-URL: Homepage, https://github.com/m-clare/cytriangle
25
25
  Project-URL: Repository, https://github.com/m-clare/cytriangle
26
26
  Description-Content-Type: text/markdown
27
27
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cytriangle"
3
- version = "1.0.3"
3
+ version = "2.0.0"
4
4
  description = "Object-oriented Cython wrapper of Shewchuk's Triangle Library"
5
5
  authors = ["Maryanne Wachter <mclare@utsv.net>"]
6
6
  maintainers = [
@@ -24,10 +24,10 @@ classifiers = [
24
24
  "Topic :: Scientific/Engineering",
25
25
  "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
26
26
  "Natural Language :: English",
27
- "Programming Language :: Python :: 3.9",
28
27
  "Programming Language :: Python :: 3.10",
29
28
  "Programming Language :: Python :: 3.11",
30
29
  "Programming Language :: Python :: 3.12",
30
+ "Programming Language :: Python :: 3.13"
31
31
  ]
32
32
  include = ["*.pyx", "*.pxd", "*.c", "src/c/*"]
33
33
 
@@ -40,8 +40,8 @@ script = "build_ext.py"
40
40
  generate-setup-file = true
41
41
 
42
42
  [tool.poetry.dependencies]
43
- python = ">=3.9"
44
- numpy = ">=1.25.2"
43
+ python = ">=3.10"
44
+ numpy = ">=2.1.2"
45
45
 
46
46
  [tool.poetry.group.dev.dependencies]
47
47
  pytest = ">=7.4.2"
@@ -11,11 +11,11 @@ package_data = \
11
11
  {'': ['*']}
12
12
 
13
13
  install_requires = \
14
- ['numpy>=1.25.2']
14
+ ['numpy>=2.1.2']
15
15
 
16
16
  setup_kwargs = {
17
17
  'name': 'cytriangle',
18
- 'version': '1.0.3',
18
+ 'version': '2.0.0',
19
19
  'description': "Object-oriented Cython wrapper of Shewchuk's Triangle Library",
20
20
  'long_description': '# CyTriangle\n## A Python Wrapped Triangle Library via Cython\n\n![ci-tests](https://github.com/m-clare/cytriangle/actions/workflows/ci.yaml/badge.svg)\n![code style](https://img.shields.io/badge/code%20style-black-000000.svg)\n![license](https://img.shields.io/github/license/m-clare/cytriangle)\n\n*CyTriangle* is an object-oriented python wrapper around Jonathan Richard Shewchuk\'s [Triangle](https://www.cs.cmu.edu/~quake/triangle.html) library. From its documentation:\n\n"Triangle generates exact Delaunay triangulations, constrained Delaunay triangulations, conforming Delaunay triangulations, Voronoi diagrams, and high-quality triangular meshes. The latter can be generated with no small or large angles, and are thus suitable for finite element analysis."\n\n*CyTriangle* utilizes Cython to provide an object-oriented interface to Triangle to enable easier inspection and modification of triangle objects.\n',
21
21
  'author': 'Maryanne Wachter',
@@ -27,7 +27,7 @@ setup_kwargs = {
27
27
  'packages': packages,
28
28
  'package_data': package_data,
29
29
  'install_requires': install_requires,
30
- 'python_requires': '>=3.9',
30
+ 'python_requires': '>=3.10',
31
31
  }
32
32
  from build_ext import *
33
33
  build(setup_kwargs)
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -61,10 +61,10 @@ END: Cython Metadata */
61
61
  #else
62
62
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
63
63
  #endif
64
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
64
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
65
65
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
66
66
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
67
- #define CYTHON_HEX_VERSION 0x03000BF0
67
+ #define CYTHON_HEX_VERSION 0x03000CF0
68
68
  #define CYTHON_FUTURE_DIVISION 1
69
69
  #include <stddef.h>
70
70
  #ifndef offsetof
@@ -1850,7 +1850,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
1850
1850
  #if !CYTHON_VECTORCALL
1851
1851
  #if PY_VERSION_HEX >= 0x03080000
1852
1852
  #include "frameobject.h"
1853
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
1853
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
1854
1854
  #ifndef Py_BUILD_CORE
1855
1855
  #define Py_BUILD_CORE 1
1856
1856
  #endif
@@ -2126,22 +2126,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
2126
2126
  #endif
2127
2127
 
2128
2128
  /* TypeImport.proto */
2129
- #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_11
2130
- #define __PYX_HAVE_RT_ImportType_proto_3_0_11
2129
+ #ifndef __PYX_HAVE_RT_ImportType_proto_3_0_12
2130
+ #define __PYX_HAVE_RT_ImportType_proto_3_0_12
2131
2131
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
2132
2132
  #include <stdalign.h>
2133
2133
  #endif
2134
2134
  #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
2135
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_11(s) alignof(s)
2135
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_12(s) alignof(s)
2136
2136
  #else
2137
- #define __PYX_GET_STRUCT_ALIGNMENT_3_0_11(s) sizeof(void*)
2137
+ #define __PYX_GET_STRUCT_ALIGNMENT_3_0_12(s) sizeof(void*)
2138
2138
  #endif
2139
- enum __Pyx_ImportType_CheckSize_3_0_11 {
2140
- __Pyx_ImportType_CheckSize_Error_3_0_11 = 0,
2141
- __Pyx_ImportType_CheckSize_Warn_3_0_11 = 1,
2142
- __Pyx_ImportType_CheckSize_Ignore_3_0_11 = 2
2139
+ enum __Pyx_ImportType_CheckSize_3_0_12 {
2140
+ __Pyx_ImportType_CheckSize_Error_3_0_12 = 0,
2141
+ __Pyx_ImportType_CheckSize_Warn_3_0_12 = 1,
2142
+ __Pyx_ImportType_CheckSize_Ignore_3_0_12 = 2
2143
2143
  };
2144
- static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_11 check_size);
2144
+ static PyTypeObject *__Pyx_ImportType_3_0_12(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_12 check_size);
2145
2145
  #endif
2146
2146
 
2147
2147
  /* ImportDottedModule.proto */
@@ -8068,7 +8068,7 @@ static int __Pyx_modinit_type_import_code(void) {
8068
8068
  /*--- Type import code ---*/
8069
8069
  __pyx_t_1 = PyImport_ImportModule("cytriangle.cytriangleio"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
8070
8070
  __Pyx_GOTREF(__pyx_t_1);
8071
- __pyx_ptype_10cytriangle_12cytriangleio_TriangleIO = __Pyx_ImportType_3_0_11(__pyx_t_1, "cytriangle.cytriangleio", "TriangleIO", sizeof(struct __pyx_obj_10cytriangle_12cytriangleio_TriangleIO), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(struct __pyx_obj_10cytriangle_12cytriangleio_TriangleIO),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_10cytriangle_12cytriangleio_TriangleIO) __PYX_ERR(2, 3, __pyx_L1_error)
8071
+ __pyx_ptype_10cytriangle_12cytriangleio_TriangleIO = __Pyx_ImportType_3_0_12(__pyx_t_1, "cytriangle.cytriangleio", "TriangleIO", sizeof(struct __pyx_obj_10cytriangle_12cytriangleio_TriangleIO), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_10cytriangle_12cytriangleio_TriangleIO),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_10cytriangle_12cytriangleio_TriangleIO) __PYX_ERR(2, 3, __pyx_L1_error)
8072
8072
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8073
8073
  __Pyx_RefNannyFinishContext();
8074
8074
  return 0;
@@ -10831,10 +10831,10 @@ __PYX_GOOD:
10831
10831
  #endif
10832
10832
 
10833
10833
  /* TypeImport */
10834
- #ifndef __PYX_HAVE_RT_ImportType_3_0_11
10835
- #define __PYX_HAVE_RT_ImportType_3_0_11
10836
- static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject *module, const char *module_name, const char *class_name,
10837
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_11 check_size)
10834
+ #ifndef __PYX_HAVE_RT_ImportType_3_0_12
10835
+ #define __PYX_HAVE_RT_ImportType_3_0_12
10836
+ static PyTypeObject *__Pyx_ImportType_3_0_12(PyObject *module, const char *module_name, const char *class_name,
10837
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_12 check_size)
10838
10838
  {
10839
10839
  PyObject *result = 0;
10840
10840
  char warning[200];
@@ -10888,7 +10888,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject *module, const char *modul
10888
10888
  module_name, class_name, size, basicsize+itemsize);
10889
10889
  goto bad;
10890
10890
  }
10891
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_11 &&
10891
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_12 &&
10892
10892
  ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
10893
10893
  PyErr_Format(PyExc_ValueError,
10894
10894
  "%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -10896,7 +10896,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject *module, const char *modul
10896
10896
  module_name, class_name, size, basicsize, basicsize+itemsize);
10897
10897
  goto bad;
10898
10898
  }
10899
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_11 && (size_t)basicsize > size) {
10899
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_12 && (size_t)basicsize > size) {
10900
10900
  PyOS_snprintf(warning, sizeof(warning),
10901
10901
  "%s.%s size changed, may indicate binary incompatibility. "
10902
10902
  "Expected %zd from C header, got %zd from PyObject",
@@ -12347,7 +12347,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
12347
12347
  #include "compile.h"
12348
12348
  #include "frameobject.h"
12349
12349
  #include "traceback.h"
12350
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
12350
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
12351
12351
  #ifndef Py_BUILD_CORE
12352
12352
  #define Py_BUILD_CORE 1
12353
12353
  #endif
@@ -1,4 +1,4 @@
1
- /* Generated by Cython 3.0.11 */
1
+ /* Generated by Cython 3.0.12 */
2
2
 
3
3
  /* BEGIN: Cython Metadata
4
4
  {
@@ -61,10 +61,10 @@ END: Cython Metadata */
61
61
  #else
62
62
  #define __PYX_EXTRA_ABI_MODULE_NAME ""
63
63
  #endif
64
- #define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
64
+ #define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
65
65
  #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
66
66
  #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
67
- #define CYTHON_HEX_VERSION 0x03000BF0
67
+ #define CYTHON_HEX_VERSION 0x03000CF0
68
68
  #define CYTHON_FUTURE_DIVISION 1
69
69
  #include <stddef.h>
70
70
  #ifndef offsetof
@@ -1845,7 +1845,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
1845
1845
  #if !CYTHON_VECTORCALL
1846
1846
  #if PY_VERSION_HEX >= 0x03080000
1847
1847
  #include "frameobject.h"
1848
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
1848
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
1849
1849
  #ifndef Py_BUILD_CORE
1850
1850
  #define Py_BUILD_CORE 1
1851
1851
  #endif
@@ -19451,7 +19451,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
19451
19451
  #include "compile.h"
19452
19452
  #include "frameobject.h"
19453
19453
  #include "traceback.h"
19454
- #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
19454
+ #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
19455
19455
  #ifndef Py_BUILD_CORE
19456
19456
  #define Py_BUILD_CORE 1
19457
19457
  #endif
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