Closed
Bug 433852
Opened 17 years ago
Closed 16 years ago
add easy_install to MozillaBuild
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: ted)
Details
Attachments
(1 file)
1.17 KB,
patch
|
Details | Diff | Splinter Review |
easy_install, http://peak.telecommunity.com/DevCenter/EasyInstall, uses /c/mozilla-build/python25/Scripts to install custom scripts.
We should add that to the path so that people can use that easily. In particular, I recommend installing compare-locales this way to localizers, which may find editing PATH settings themselves not so great.
Adjustments to PYTHONPATH are apparently not needed.
Other question, should we have easy_install already in MozillaBuild?
Assignee | ||
Comment 1•17 years ago
|
||
If you want easy_install, give me simple steps to install it and I'll look into it. Adding the PATH should be easy.
Reporter | ||
Comment 2•17 years ago
|
||
Nice :-). http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install has details, basically, get the ez_setup.py script there, get the right egg, right now, that's setuptools-0.6c8-py2.5.egg from http://pypi.python.org/packages/2.5/s/setuptools/
They have exe files there, but I don't know if those are installers.
Anyway, I just tested this in the hg test mozillabuild, if you run
python ez_setup.py
with the egg next to it, it will install fine, and not download anything, which I guess is what we want.
The egg has a shell script stub doing the same, but I'm not sure how hard it is to call into a shell script without triggering our ssh-agent hooks.
Assignee | ||
Comment 3•17 years ago
|
||
I needed to do a respin of 1.3 anyway, so I checked in this tiny patch. If you'd like to morph this bug to be about adding easy_install by default, that's fine, if you'd like to file another bug about that, that's also fine.
Assignee | ||
Updated•16 years ago
|
Summary: add /c/mozilla-build/python25/Scripts to PATH for easy_install → add easy_install to MozillaBuild
Comment 4•16 years ago
|
||
It would be great if this gets into MozillaBuild 1.4, as it's needed for Mozmill to work on Windows.
I don't know about newer Python, but the version with MozillaBuild 1.3 (Python 2.5) creates exes without a manifest. This means that the installer detection stuff kicks in on Vista and above, and this is a problem.
Assignee | ||
Comment 5•16 years ago
|
||
I believe Python 2.5 is built with VC 2003, and 2.6 is built with VC 2009.
Assignee | ||
Comment 6•16 years ago
|
||
The installer exe is pretty crappy, it doesn't let you configure anything from the commandline. I found some instructions on how to install from the egg here, which seem to work:
http://stackoverflow.com/questions/309412/how-to-setup-setuptools-for-python-26-on-windows
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → ted.mielczarek
Assignee | ||
Comment 7•16 years ago
|
||
Ok, a few hacks later it seems to be working. Try the pre-release build here:
http://people.mozilla.com/~tmielczarek/MozillaBuildSetup-1.4pre.exe
(in about 15 minutes from now when it finishes uploading, anyway)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•16 years ago
|
||
Comment 9•16 years ago
|
||
Ted, is there an eta when the new version (1.4) will be released? It would be nice to have an official build setup available.
Updated•2 years ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•