Skip to content

Commit 2927e8d

Browse files
committed
solve install issue under py3.14
1 parent 311a3d5 commit 2927e8d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "rehline"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "Regularized Composite ReLU-ReHU Loss Minimization with Linear Computation and Linear Convergence"
55
authors = [
66
{name = "Ben Dai", email = "[email protected]"},

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from pybind11.setup_helpers import Pybind11Extension, build_ext
77
from setuptools import setup
88

9-
__version__ = "0.1.1"
9+
__version__ = "0.1.2"
1010

1111
# The main interface is through Pybind11Extension.
1212
# * You can add cxx_std=11/14/17, and then build_ext can be removed.
@@ -54,7 +54,8 @@ def __str__(self) -> str:
5454
ext_modules = [
5555
Pybind11Extension("rehline._internal",
5656
["src/rehline.cpp"],
57-
include_dirs=[get_eigen_include()],
57+
include_dirs=[get_eigen_include(), "src"],
58+
depends=["src/rehline.h"],
5859
# Example: passing in the version to the compiled code
5960
define_macros=[('VERSION_INFO', __version__)],
6061
),

0 commit comments

Comments
 (0)