generate pybindgen/version.py in waf configure, closes #45
This commit is contained in:
1 parent
71852b1158
commit
42df0fcb4b
1 file changed
+4
@@ -164,6 +164,10 @@ def configure(conf):
|
||||
conf.load('python')
|
||||
conf.check_python_version((2,3))
|
||||
|
||||
# this causes pybindgen/version.py to be generated by setuptools_scm
|
||||
subprocess.run([conf.env["PYTHON"][0], "setup.py", "--help-commands"],
|
||||
stdout=subprocess.DEVNULL)
|
||||
|
||||
try:
|
||||
conf.load('compiler_c')
|
||||
conf.load('compiler_cxx')
|
||||
|
||||
Reference in new issue
Block a user