Hi Bryan,

On Mo, 2013-12-23 at 15:58 -0600, Bryan Bishop wrote:
> Oh, I see what you mean. So, I wrote most of this to be installable as
> a python package, where you can't pass configuration around. I think
> exposing a function for building bindings is doable, but they wont be
> system-installable because that's usually something that requires
> root. But if the user is okay with dumping the bindings somewhere
> else, I suppose that can be arranged.

Well there are 2 different problems really:

1) install the resulting python package in the user home directory (to
avoid using root powers while installing);

2) use BRLCAD libraries which are installed in a custom directory;

The problem 1) can be solved using:

python setup.py install --user


For problem 2) I posted a pull request on the python-brlcad github
repository. The solution I used is a BRLCAD_HOME environment variable -
works just fine for me.


> >> >  * add libged to the wrapped library list;

There's a pull request for that too, but it could be that only the
latest brlcad will run well with that, so I'm not sure if the exported
libraries should not also be somehow configurable.

Before deciding on the environment variable way to go for the custom
BRLCAD installation path, I explored the possibility of passing
variables via the setup.cfg file - it works but I find it cumbersome
compared to the env variable version. For the list of wrapped libraries
it could work well though - if you think it worths the trouble, I will
write some code for that too.

With this solved, I will go ahead now (well, tomorrow, it's quite late
here) and test libged for actually doing some work - inside python :-)


Cheers,
Csaba



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to