On Mon, Dec 23, 2013 at 3:51 PM, Csaba Nagy <[email protected]> wrote:
>> >  * specify a custom installation directory for the wrapped brl-cad
>> > libraries (possibly passed as parameter to the setup script);
>>
>> Have you considered virtualenv and virtualenvwrapper? I don't think
>> this is inside scope for a BRLCAD wrapper; there are a bunch of
>> up-the-chain abstractions in python for package management stuff.
>
> Well I'm kind of ignorant regarding the plethora of python libraries,
> but from a quick google I can't really see how virtualenv will help me
> to easily tell the setup script that my brl-cad is installed in a
> non-standard place in my home directory ? Or, as I have it, not
> installed at all but I just use the compiled version directly from the
> build directory ?

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.

>> >  * add libged to the wrapped library list;
>>
>> There are a bunch of dependency issues that I ran into when I added
>> libged to the default list of modules to pythonize in the
>
> Hmm, it's true I only tried to load the libged module and not really use
> it, but that worked for me without problems, once I added "ged" to the
> list of module names and "bu", "bn", "wdb", "rt" as dependencies...

Cool, that's great news.

>> git clone https://github.com/kanzure/python-brlcad
>
> OK, cloned, but if I update with my changes, how do I get them to you,
> via patches ?

You're welcome to submit patches to me, you can generate them like this:

git patch

or maybe it's

git diff

But also, you can just click the "fork" button on
https://github.com/kanzure/python-brlcad and then run through the
process of (1) cloning your forked repository, (2) committing new work
using "git add", "git status", and "git commit", (3) pushing the
changes to github by "git push", and then (4) either bugging me by
email about your changes or using the github "pull request" feature
(which becomes visible to you (once you have pushed changes to your
github account's git repo) when you navigate back to your git
repository's page on github).

- Bryan
http://heybryan.org/
1 512 203 0507

------------------------------------------------------------------------------
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