Replies: 1 comment 1 reply
-
Probably the first step is to add zig support. Once that is available, it looks like pydust is "just" a zig library smoothing over the API, similar to pybind11 for C++, so you should simply be able to add pydust as a dependency to a # progress/meson.build
py.extension_module('binding', 'binding.zig',
dependencies: pydust_dep,
install: true,
subdir: 'progress',
) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ziggy Pydust uses reflection and compile-time metaprogramming to generate python bindings around Zig code. It produces a python extension module as a shared object.
custom_target
can be coerced into installing that shared object but the call is finicky:(See in the
progress.binding=@INPUT@
argument specifically). How much work would it be to makeZiggy Pydust
as seamless as Cython in meson? Note I tried to make thecommand
argument less repetitive by using@OUTDIR@
and@BASENAME@
but that didn't work. How many variables will meson substitute in the same command line argument?Relevant bit of directory layout for context. Actual example is here
Related to #12458 in the sense that Cython is related to C.
Beta Was this translation helpful? Give feedback.
All reactions