|
Boost-Build : |
Subject: Re: [Boost-build] error with 'import platform ;'
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-03-21 04:34:05
Vladimir Prus schrieb:
> What is 'platform.architecture'?
platform.architecture() (Python) returns the 'bitness' and the binary
format/linkage
Is that a module from Python standard library? If so, for starters, have
you built bjam with Python support?
Ok - it seams I haven't. Because other users could build bjam without
support for Python does boost.build provide the infos returned by
platform.architecture() and platform.machine()?
> If so, you can do this:
>
> PYTHON_IMPORT_RULE platform : architecture : : platform.architecture ;
>
> and then use
>
> [ platform.architecture ]
>
> everywhere. Does this help?
If this is the only way I try it.
Thx, Oliver
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk