On 14/03/13 21:12, Alan Robertson wrote:
> Currently, AssimCctypes.py is a source file -- but it's really a file
> generated by ctypesgen.py.  I was trying to avoid everyone having to
> have a copy.
> 
> But if you want to install somewhere other than /usr/lib/assimilation,
> then you need to run ctypesgen.  Everything else supports that - so this
> should too.
> 
> Also, if you want to be able to have it locate the copy in your
> workspace, you also need to run ctypesgen.  And I definitely want to be
> able to do that if I can.
> 
> So I have to make ctypesgen a required package - and generate two copies
> of AssimCtypes.py - one in my workspace, and one in the installed
> place.  Sigh...  And I have to run it automatically whenever I change
> any header file.  Additional sigh...
> 
> But that seems to be a method which will work, and will satisfy all
> those issues. I wrote a python script which will do these things.  I'll
> finish it up, add the cmake rules, and commit it all this evening (or so
> I hope).

I spotted buildtools/genpybindings.py and it looks like it'll solve the
issues quite nicely. Just to make sure I'm using it right, can you give
an example of the options you might pass to it?


Kind regards,

-- 
Jamie Nguyen


_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to