Alexander Neumann

Results 375 comments of Alexander Neumann

also vcpkg as theoretically 5 python locations: a) the python executing meson b) the python binary location for the target c) the python binary location for the host ( which...

> What does this mean in practice? How do you build Python extensions with setuptools for such a system? How does a Python interpreter know from where to load libraries...

https://github.com/mesonbuild/meson/blob/8a725589e71aa4c5d97dda50ee433f1324fd42cd/mesonbuild/modules/python.py#L292 Did not find python3. I provide have a pkg_config_path setup with the correct python-3.10.pc but it wasn't used/found. https://github.com/mesonbuild/meson/blob/8a725589e71aa4c5d97dda50ee433f1324fd42cd/mesonbuild/modules/python.py#L319-L322 It should be always go looking? Removing the if makes...

> I still have no idea of what you are trying to do building stuff in vcpkg using meson. In more detail: Updating meson from 0.63 to 064.1. The error...

> I would lean toward saying that vcpkg provides a non functional Python installation. No that is not the issue. Python from vcpkg can be used fine.....it works in cmake...

> and provide the required information? What extra information do you want? I already gave all relevant information. The python module is not using pkg-config files but instead hardcoding search...

> I also asked the meson setup output log Here let me throw more irrelevant logs at you: (actually need to extract them before uploading to github else they are...

> For a PCBuild version of python, which I assume is what vcpkg uses, Meson will check for the DLL using sys.base_prefix which is apparently wrong in vcpkg? https://github.com/mesonbuild/meson/blob/9e8a3b9cbd5b90cc6384020ac5799ea054912f55/mesonbuild/modules/python.py#L220-L222 Seems...

@eli-schwartz: Even if I modify `_PREFIX` and `_BASE_PREFIX` in `sysconfig.py` meson still searches in the wrong dirs. (I mean `libs` will always be wrong but at least the base prefix...

> Can you check if this is still a problem after commit https://github.com/mesonbuild/meson/commit/aa69cf04484309f82d2da64c433539d2f6f2fa82? Is that commit part of 1.1.0 ? I currently use https://github.com/microsoft/vcpkg/pull/28084/files#diff-252e4529dcfc3d1f5cdda010e195917889e89a0dacc875caa16446add749343e to fix one issue. Had do...