-
|
I am using meson.build to hopefully bundle in a wheel of my package that not only builds C extensions, but also packages in:
Also the package expects a stub exe to be built as well which does NOT need the python include folder nor the python lib folder as it is meant to be act like a "SFX EXE" like file for the embedded python to get packed down to a single file. The resulting expected files that are to be packed in the resulting wheels (after building everything)
My meson.build file currently: Basically having support for building the embed exe itself would be great in My goal with this: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This is spelled like this: py = import('python').find_installation()
executable(
'foo',
...,
dependencies: py.dependency(embed: true),
)
I doubt this works. To install the executables in the right path you should set the
This does not work either. You should just use the
This is already supported by meson. See above.
Why do you want to have these defines specified in in |
Beta Was this translation helpful? Give feedback.
-
Now that I done this, I realized the In other news, it seems it cannot figure out how to compile the resource scripts for the 2 exes. |
Beta Was this translation helpful? Give feedback.
-
Please read my previous comment again. The solution is spelled out clearly there.
I don't know what you mean by resources scripts, but in the case you are referring to MSVC resources, please refer to the Meson manual: https://mesonbuild.com/Windows-module.html#windows-module |
Beta Was this translation helpful? Give feedback.
This is spelled like this:
I doubt this works. To install the executables in the right path you should set the
install_dirparameter to som…