Closed Bug 1253502 Opened 9 years ago Closed 9 years ago

Move python virtualenv initialization to moz.configure

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox48 fixed)

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files)

No description provided.
Comment on attachment 8726625 [details] MozReview Request: Bug 1253502 - Allow to pass a specific python interpreter to initialize virtualenvs https://reviewboard.mozilla.org/r/38117/#review35181 Yay!
Attachment #8726625 - Flags: review?(gps) → review+
Comment on attachment 8726626 [details] MozReview Request: Bug 1253502 - Move python virtualenv initialization to moz.configure https://reviewboard.mozilla.org/r/38119/#review35187 I still don't like that we create the virtualenv as part of configure. But we can tackle that another day. ::: build/moz.configure/init.configure:146 (Diff revision 1) > + manager.build(python) Since we're now doing this from the virtualenv, I'm pretty sure you can delete the __main__ code from python/mozbuild/mozbuild/virtualenv.py. Feel free to do that before landing if it is indeed unused.
Attachment #8726626 - Flags: review?(gps) → review+
(In reply to Gregory Szorc [:gps] from comment #4) > Comment on attachment 8726626 [details] > MozReview Request: Bug 1253502 - Move python virtualenv initialization to > moz.configure > > https://reviewboard.mozilla.org/r/38119/#review35187 > > I still don't like that we create the virtualenv as part of configure. But > we can tackle that another day. Until we make it impossible to use configure && make (which I'd rather avoid), configure will need to setup the virtualenv if it's not already running in one.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Blocks: 1255197
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: