Hi, Arun , Thomas

> b) I had to add /usr/lib64/python2.6/site-packages/OCC.pth for python to
> find files in the site-packages/OCC directory
>

>> Weird. Did you append this path to your sys.path? What Linux distro do
you run? gcc/swig versions?

I think this is due to a recent change on debian like distribution : I've
seen somewhere that they decided to have the same name for local and system
python packages :
While before the directories were named
 -- /usr/lib/python2.6/dist-packages
-- /usr/local/lib/python2.6/site-packages

Now they are names :
 -- /usr/lib/python2.6/dist-packages
-- /usr/local/lib/python2.6/dist-packages

On my side, I decided to link site-package towards dist-packages
If what I say is true for all distribution, then maybe it makes sens to
change setup.py to install in distpackage by default on linux distribution.

BTW, I've seen that there was a plan to develop a building system based on
scons. I don't know anything about scons, but just out of curiosity, have
you considered cmake too? If so, what made you prefer scons? I don't have
much time right now to spend on this project but my experience with cmake is
that it is very friendly and handle major platforms very well. IMHO it is a
very good choice if not the best when targeting multiplatform projects.
regards,

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

Reply via email to