File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " rehline"
3- version = " 0.1.1 "
3+ version = " 0.1.2 "
44description = " Regularized Composite ReLU-ReHU Loss Minimization with Linear Computation and Linear Convergence"
55authors = [
66 {
name =
" Ben Dai" ,
email =
" [email protected] " },
Original file line number Diff line number Diff line change 66from pybind11 .setup_helpers import Pybind11Extension , build_ext
77from 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:
5454ext_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 ),
You can’t perform that action at this time.
0 commit comments