Opened 9 years ago
Last modified 9 years ago
#8643 new Bugs
2to3.py Call within python.jam
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
This is all on windows 2008 R2 Server, using Python3.3 and Boost 1.53.0
Within the file python.jam in ...\tools\build\v2\tools\python.jam I had to change the code in the function "actions 2to3" from
actions 2to3 {
2to3 -wn "$(<)" 2to3 -dwn "$(<)"
}
to
actions 2to3 {
python.exe C:\Python33\Tools\Scripts\2to3.py -wn "$(<)" python.exe C:\Python33\Tools\Scripts\2to3.py -dwn "$(<)"
}
Apparently 2to3.py is a python file, and to call it from the windows shell as it seems to do in python.jam, you must run it with the python interpreter, as above.
Note:
See TracTickets
for help on using tickets.