diff --git a/wscript b/wscript index 601ae92..133e02c 100644 --- a/wscript +++ b/wscript @@ -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')