Closed
Bug 914372
Opened 12 years ago
Closed 12 years ago
Provide more info to help with installing Python
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla27
People
(Reporter: gps, Assigned: gps)
References
Details
Attachments
(1 file)
1.99 KB,
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
As we up our Python build requirements and start requiring more modern Python releases, it's apparent that not all operating systems and distros are shipping a Python as modern as we would like. I think the boostrapper should gain the ability to install Python from source.
A rational concern here is "we don't want the bootstrapper to turn into a package manager." I agree. Fortunately, many people have had this problem and solutions exist. I propose we should hook up https://github.com/yyuu/pyenv or https://github.com/collective/buildout.python to the boostrapper. AFAIK both of these solutions are generic and work on multiple operating systems and distros.
We established ~/.mozbuild (or whatever path is in $MOZBUILD_STATE_PATH) as reserved for global Firefox build system state. I propose we install a custom built Python there (if needed) and ensure it's /bin is on $PATH.
Assignee | ||
Comment 1•12 years ago
|
||
After thinking about this for a bit, I think being lazy is the best
course of action for the moment. Someone (likely me) could spend a
significant amount of effort writing code to install Python via pyenv,
etc. Or, we could just tell the user what to do. I'm inclined to do the
latter because I don't think many people will run into older, outdated
Pythons. Those who do will likely be on Linux (as opposed to OS X or
Windows) and thus will likely have neckbeards and can figure out how to
install Python through one of the linked tools.
Attachment #805678 -
Flags: review?(mshal)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gps
Comment 2•12 years ago
|
||
Comment on attachment 805678 [details] [diff] [review]
Provide more info to help with installing Python
Hooray for simplicity :)
Attachment #805678 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Flags: in-testsuite-
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
![]() |
||
Comment 5•12 years ago
|
||
Adjusting summary to better reflect what was actually landed.
Summary: Bootstrapper support for installing Python from source → Provide more info to help with installing Python
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•