> I also have been messing around with the SCons build script a little. > It is indeed a little alpha-ish, but please be a little patient. SCons > is a fantastic build system (in my slightly biased opinion). I used in > a combination with different compilers in a multi-platform environment > and it works like a charm! > > OCC and PythonOCC are I guess daunting for every build system, so we > just have to work on it a little. I will pitch in as much as possible. > > Today I focused on the Linux part of the SCons file. Some > suggestions: > > 1. Replace sys.platform by platform,platform(), > platform.architecture() and platform.system() calls. This allows us to > remove the system call to "apt", which is debian/ubuntu specific (I > use fedora ;). > > 2. We also somehow need to re-factor the code a bit because all paths > are specified both in the SConstruct file and the environment.py file. > During SWIG generation, both settings are used, so if you do not > specify proper OCC_INC paths in both files, the generation of SWIG > files will fail. > > I will look further into SCons to speed up the build.
Great news Marco, thanks so much for your effort bringing Scons to pythonOCC. I'll take on the responsibility of adapting the script for OSX. cheers, -jelle _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users