Closed Bug 1224980 Opened 9 years ago Closed 9 years ago

Add "python2" symlink to point to Python inside MozillaBuild

Categories

(Firefox Build System :: MozillaBuild, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: xidorn, Assigned: RyanVM)

References

Details

Per PEP 0394 [1], for script compatibility, there should be a "python2" command available where Python 2.x is available, and only scripts compatible with both Python 2 and Python 3 should specify "python" in their shebang. But there is no "python2" command in the MozillaBuild's path. This should probably be an upstream bug, though. [1] https://www.python.org/dev/peps/pep-0394/
Assignee: nobody → ryanvm
We already do something similar in that we create a python2.7.exe copy during packaging. I'm going to take the easy way and just do the same with python2.exe. It's only 27KB, so I don't think disk space concerns are an issue here. http://people.mozilla.org/~rvandermeulen/MozillaBuildSetup2.2.0pre1.exe (77.5MB) SHA-256: f929bffff830d608a81206592458df1bc9a40db4627649f0c8e9d4d8c0e1d2fe
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.