Boost logo

Boost :

Subject: Re: [boost] [boostorg/python] Building against multiple python implementations broken on 1.70 (#262)
From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-04-15 20:37:38

Stefan Seefeld wrote:

> Right. So what's your suggestion / conclusion for to resolve this ?

I'm working on it. I could use a little help.

What is the correct way to configure Boost.Build's `python` on Travis
Xenial, which supposedly has Python 2.7.15, 3.6.7, and 3.7.1 preinstalled?

I tried putting

    using python : 2.7 ;
    using python : 3.6 ;
    using python : 3.7 ;

in ~/user-config.jam, but that doesn't seem to work. With
`python=2.7,3.6,3.7` I get

in feature.validate-value-string from module feature
error: "3.6" is not a known value of feature <python>
error: legal values: "2.7"
in validate1 from module property
in property.validate from module property
in convert-command-line-element from module build-request
in build-request.convert-command-line-elements from module build-request
in load from module build-system
in import from module modules
in boost-build from module
/home/travis/build/boostorg/boost-root/boost-build.jam:17: in module scope
from module

Boost list run by bdawes at, gregod at, cpdaniel at, john at