ben lipkowitz a écrit :
> On Thu, 12 Mar 2009, Thomas Paviot wrote:
>> M. Nawijn a écrit :
>>> 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 ;).
>>>
>> Thanks for the hint, I never used the 'platform' module before. The
>> 'architecture' variable is planned to be passed to the g++ 'march' flag.
>> I then need a function that returns either 'i386', 'i686', etc.
>
> use platform.machine()
It's even better.

Thanks,

Thomas

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

Reply via email to