On Wed, 2009-04-08 at 14:22 +0200, Jelle Feringa wrote:
> Hi Bryan,
> 
> More nagging ;')
> 
> from wxDisplay import GraphicsCanva3D is really wrong.
> First because this method is a 0.1 release ( really, i'm surprised  
> this works still on the SVN version!!! )
> Also, you should always import starting with OCC.
> Being able to import wxDisplay is specific for your setup.

Yes, sorry for this. The pythonOCC codebase is changing fast so I can't
always keep up.

Now I've found examples_gui.py (took me some searching), I'll start
using this. This (or a similar) module really needs to be installed
under the OCC namespace so users can run the examples (or their own
tests) without having to do extra messing with their PYTHONPATH or
having to hunt down the module.

Similarly, the CSF_GraphicShr environmental variable caused me a lot of
pain. It took me *ages* to find any documentation which says what you
should set this to. So, having this stated clearly in html-docs / wiki /
mailing list will certainly help other newcomers. The best would be if
setup.py could set this up automatically.

Basically, the golden rule of OSS is make it "Just Work". Don't make me
have to think about environmental variables or PYTHONPATH.

Bryan


_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to