Ticket #12548: python.jam.diff
File python.jam.diff, 1.0 KB (added by , 6 years ago) |
---|
-
boost_1_62_0/tools/build/src/tools/python.jam
old new 393 393 # version, e.g. 2.10 -- let us hope that never happens. 394 394 # 395 395 .version-countdown = ; 396 for local v in [ numbers.range 15 3 4]396 for local v in [ numbers.range 15 35 ] 397 397 { 398 398 .version-countdown = [ SUBST $(v) (.)(.*) $1.$2 ] $(.version-countdown) ; 399 399 } … … 429 429 = [ GLOB /System/Library/Frameworks /Library/Frameworks 430 430 : Python.framework ] ; 431 431 432 return $(prefix)/Versions/$(version)/bin/python;432 return [ GLOB $(prefix)/Versions/$(version)/bin : python? ] ; 433 433 } 434 434 435 435 … … 539 539 } 540 540 else 541 541 { 542 local full-cmd = 543 $(sys.executable)" -c 'import distutils.sysconfig as c; import sys; sys.stdout.write(c.get_python_inc())'" ; 544 includes ?= [ shell-cmd $(full-cmd) ] ; 542 545 includes ?= $(prefix)/include/python$(version) ; 543 546 544 547 local lib = $(exec-prefix)/lib ;