Rebuild cython extensions when dependency version changes (#1886)

* rebuild cython extensions when python/cython/distutils version changes

* submodules and boardd

* kalman and transformations
old-commit-hash: 165e14d103
This commit is contained in:
Adeeb Shihadeh
2020-07-16 13:59:32 -07:00
committed by GitHub
parent 1930c812d7
commit 993eeaf694
7 changed files with 25 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
Import('env')
Import('env', 'cython_dependencies')
# parser
env.Command(['common_pyx.so'],
['common_pyx_setup.py', 'clock.pyx'],
"cd common && python3 common_pyx_setup.py build_ext --inplace")
# Build cython clock module
env.Command(['common_pyx.so', 'clock.cpp'],
cython_dependencies + ['common_pyx_setup.py', 'clock.pyx'],
"cd common && python3 common_pyx_setup.py build_ext --inplace")