analogdevicesinc / libsmu

Software abstractions for the analog signal exploration tools.
http://analogdevicesinc.github.io/libsmu/
BSD 3-Clause "New" or "Revised" License
31 stars 31 forks source link

bindings/python/setup.py: Always regenerate cython extensions. #136

Closed AlexandraTrifan closed 4 years ago

AlexandraTrifan commented 4 years ago

The cython file is generated in the first build. Any modification done in the source files (libsmu.pyx for example) is not propagated to the python bindings. In order to do so, the libsmu.cpp (generated) file should be removed after every build. To fix this, we configure setup.py to always regenerate the extension files.

Signed-off-by: Alexandra.Trifan Alexandra.Trifan@analog.com