Hi,

I currently use jcc to wrap a Java library for use in Python - it works
great.

The project I'm working on is moving it's package management from
traditional pip installs to Guix:
https://guix.gnu.org/

Guix handles python packages pretty well, and I have jcc running nicely on
there.

The problem I have is that Guix expects as an input a Python source
repo, but the jcc outputs a binary wheel.

What I'd like is for jcc to put together a source package, complete with
jars, C/C++, and python wrapper and a setup.py that is called to
generate the wheel.  But to stop short of generating the wheel for me.
I've had a look at the gnerated build directory - I could see the C/C++
source and jars, but there didn't seem to be a setup.py to trigger an install?

Such a directory could be then be fed into Guix who would happily build the 
package
and install it using the standard setup.py provided.

As a crude workaround I can try to unzip the contents of the produced wheel and 
stick the contents
into a repo, with a new setup.py, and MANIFEST.in file that would simply
copy across the jars and the previously build C/C++ library.  However
having the setup.py building the library and installing it is a more elegant 
solution.

Any ideas?

Thanks,
Phil.

Reply via email to