-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
I would like to build a simple Python extension. My meson.build looks something like this:
py_mod = import('python')
py = py_mod.find_installation()
py_dep = py.dependency()
py.extension_module(
'siphash24', 'siphash24.pyx', 'c-siphash.c',
install: true,
dependencies: py_dep,
)
the full code can be found here https://github.com/dnicolodi/python-siphash24
Everything works well on Linux and macOS however something is off on Windows when compiling with MSVC:
[4/4] Linking target siphash24.cp310-win_amd64.pyd
Creating library siphash24.cp310-win_amd64.lib and object siphash24.cp310-win_amd64.exp
[...]
Installing siphash24.cp310-win_amd64.pyd to C:\Users\RUNNER~1\AppData\Local\Temp\build-via-sdist-g78k95j9\siphash24-1.0.0\.mesonpy-b3ixowso\install\hostedtoolcache\windows\Python\3.10.6\x64\Lib\site-packages
Installing siphash24.cp310-win_amd64.lib to C:\Users\RUNNER~1\AppData\Local\Temp\build-via-sdist-g78k95j9\siphash24-1.0.0\.mesonpy-b3ixowso\install\hostedtoolcache\windows\Python\3.10.6\x64\Lib\site-packages
File 'siphash24.cp310-win_amd64.pdb' not found, skipping
It seems that (what I think are) debug symbols are generated with the wrong filename extension.
This is on the Github Actions runners with the default MSVC installation. I'm not familiar with development on Windows thus I really don't know what may be going wrong.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels