Boost logo

Boost-Build :

Subject: Re: [Boost-build] error with 'import platform ;'
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-21 08:30:57

Oliver Kowalke wrote:
> 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 provide the infos returned by
> platform.architecture() and platform.machine()?

I don't think it is readily available now -- and when it will be
available it will actually report the properties of the compiler
that is being used.

>> 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.

Let me know if this helps.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at