I am currently working on a library that uses futhark-pycffi generated bindings for the Futhark code. I am using setuptools to build the library, and the setuptools CFFI extension to automate the preparation of CFFI modules. This is accomplished by adding following to setup.py:
I currently have to copy the contents of the build.py to builder.py and then use the modified version of build() function to create ffbuilder_a and ffbuilder_b objects, that can then be used by setuptools.
I have to modify the build() function to take two arguments: the base name of the c and h files and output name for the generated shared library.
It would be great, if in builder.py, I could just write:
I am currently working on a library that uses futhark-pycffi generated bindings for the Futhark code. I am using setuptools to build the library, and the setuptools CFFI extension to automate the preparation of CFFI modules. This is accomplished by adding following to setup.py:
I currently have to copy the contents of the build.py to builder.py and then use the modified version of build() function to create ffbuilder_a and ffbuilder_b objects, that can then be used by setuptools.
I have to modify the build() function to take two arguments: the base name of the c and h files and output name for the generated shared library.
It would be great, if in builder.py, I could just write:
I can make a PR, if you are okay with this :)