@@ -253,9 +253,7 @@ def compile_objects(self, platform, py_arch, obj_dir):
253
253
]
254
254
# Ensure that symbols are visible to aid debugging and profiling.
255
255
spec ["flags" ] = [
256
- f
257
- for f in spec ["flags" ]
258
- if "visibility=hidden" not in f
256
+ f for f in spec ["flags" ] if "visibility=hidden" not in f
259
257
]
260
258
objects .append (self .build_object (env = env , ** spec ))
261
259
return objects
@@ -329,11 +327,10 @@ def chdir(new_dir):
329
327
setup (
330
328
setup_requires = [
331
329
"cython>=0.25" ,
332
- "numpy>=1.15 .0" ,
330
+ "numpy>=2.0.0,<3.0 .0" ,
333
331
],
334
332
install_requires = [
335
- "numpy>=1.15.0; python_version < '3.9'" ,
336
- "numpy>=1.19.0; python_version >= '3.9'" ,
333
+ "numpy>=2.0.0,<3.0.0" ,
337
334
],
338
335
ext_modules = cythonize (
339
336
[
@@ -371,11 +368,6 @@ def chdir(new_dir):
371
368
"Operating System :: POSIX :: Linux" ,
372
369
"Operating System :: MacOS :: MacOS X" ,
373
370
"Programming Language :: Cython" ,
374
- "Programming Language :: Python :: 2.7" ,
375
- "Programming Language :: Python :: 3.6" ,
376
- "Programming Language :: Python :: 3.7" ,
377
- "Programming Language :: Python :: 3.8" ,
378
- "Programming Language :: Python :: 3.9" ,
379
371
"Programming Language :: Python :: 3.10" ,
380
372
"Programming Language :: Python :: 3.11" ,
381
373
"Programming Language :: Python :: 3.12" ,
0 commit comments