1 parent 27b0759 commit 552085aCopy full SHA for 552085a
1 file changed
python_bindings/setup.py
@@ -129,7 +129,7 @@ def build_extensions(self):
129
if has_flag(self.compiler, '-fvisibility=hidden'):
130
opts.append('-fvisibility=hidden')
131
elif ct == 'msvc':
132
- opts.append('/DVERSION_INFO=\\"%s\\"' % self.distribution.get_version())
+ opts.append('/DVERSION_INFO="%s"' % self.distribution.get_version())
133
134
# extend include dirs here (don't assume numpy/pybind11 are installed when first run, since
135
# pip could have installed them as part of executing this script
0 commit comments