[GRASS-dev] Makefile for an addon using Cython

Pietro peter.zamb at gmail.com
Mon Feb 1 04:25:39 PST 2016


Dear Laurent,

> I wrote an extension which include a mix of Python and Cyhon files.
> What would be the preferable way to make it easy to install with g.extension?
> I imagine that it could be easier to distribute the generated C file
> along the .pyx file, as it will not require the user to have Cython
> installed.

Indeed I think that the C file should also tracked.

> Which form would take the Makefile in that case? Is there some
> examples I could follow?

As far as I know this is the first GRASS addon written using Cython,
so no examples are available...
But you can see other Makefile for python or C addons.

Best regards

Pietro


More information about the grass-dev mailing list