Has there been any progress on this. I am looking to build a pytorch based module that requires building some cpp_extensions.
The build process works flawlessly if I use setup tools but when i use pbr there are linker errors.
My setup files looks as follows.
``` setup( setup_requires=['pbr'], pbr=True, ext_modules=[ cpp_extension.CppExtension( 'myextension', ['file1.cpp', 'file2.cpp'] )], cmdclass={'build_ext': cpp_extension.BuildExtension}, )
```
Ofcourse ideally the ext_modules should be inside cfg file but as OP pointed out, it is not clear how i would use custom include dirs like `include_dirs=cpp_extension.include_paths()`.
Has there been any progress on this.
I am looking to build a pytorch based module that requires building some cpp_extensions.
The build process works flawlessly if I use setup tools but when i use pbr there are linker errors.
My setup files looks as follows.
``` requires= ['pbr'] ,
cpp_extension. CppExtension(
'myextensi on',
[' file1.cpp' , 'file2.cpp'] {'build_ ext': cpp_extension. BuildExtension} ,
setup(
setup_
pbr=True,
ext_modules=[
)],
cmdclass=
)
```
Ofcourse ideally the ext_modules should be inside cfg file but as OP pointed out, it is not clear how i would use custom include dirs like `include_ dirs=cpp_ extension. include_ paths() `.