Skip to content

Commit

Permalink
update for numpy version 2.0, fix some project properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Gyenes committed Jun 18, 2024
1 parent 2bd9091 commit f0aceb0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions nnef-pyproject/nnef/nnef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include <string>
#include <locale>

#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION


static PyObject* NNEF_Error;

Expand Down
5 changes: 2 additions & 3 deletions nnef-pyproject/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nnef"
version = "1.0.6"
version = "1.0.7"
description = "A package for parsing NNEF files"
requires-python = ">=3.7"

Expand All @@ -15,8 +15,7 @@ dynamic = ["readme"]
keywords = ["nnef"]

authors = [
{ name = "Viktor Gyenes", email = "viktor.gyenes@aimotive.com" },
{ name = "Tamas Danyluk", email = "9149812+tdanyluk@users.noreply.github.com" },
{ name = "Khronos Group", email = "nnef@lists.khronos.org" },
]
maintainers = [{ name = "Viktor Gyenes", email = "viktor.gyenes@aimotive.com" }]

Expand Down
1 change: 0 additions & 1 deletion nnef-pyproject/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
include_dirs=["nnef/cpp/include", numpy.get_include()],
language="c++",
extra_compile_args=["-std=c++11"] if os_name != "nt" else [],
define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")],
)
],
)

0 comments on commit f0aceb0

Please sign in to comment.