[Boost-bugs] [Boost C++ Libraries] #8643: 2to3.py Call within python.jam

Subject: [Boost-bugs] [Boost C++ Libraries] #8643: 2to3.py Call within python.jam
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-03 14:29:02


#8643: 2to3.py Call within python.jam
-------------------------------------+--------------------------------------
 Reporter: trevor.haba@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.53.0
 Severity: Problem | Keywords:
-------------------------------------+--------------------------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8643>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC