mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
eebabfffe5
The current inheritance-based separation between "general venv details" (`VirtualenvHelper`) and moz site details (`MozSiteManager`) has caused `MozSiteManager` to care about too many details. This patch splits things apart a little more: * The term `VirtualenvHelper` isn't _super_ useful, rename it to `PythonVenv` to show that it represents a Python virtualenv. * Move on-disk virtualenv logic (`activate_path` location, `site-packages` location, `pip install` behaviour) into a contained `MozVirtualenv` class. * Port the inheritance to a "composition" model instead. Differential Revision: https://phabricator.services.mozilla.com/D129685 |
||
---|---|---|
.. | ||
bin | ||
mozboot | ||
README.rst | ||
setup.py |
mozboot - Bootstrap your system to build Mozilla projects ========================================================= This package contains code used for bootstrapping a system to build mozilla-central. This code is not part of the build system per se. Instead, it is related to everything up to invoking the actual build system. If you have a copy of the source tree, you run: python bin/bootstrap.py If you don't have a copy of the source tree, you can run: curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -o bootstrap.py python bootstrap.py The bootstrap script will download everything it needs from hg.mozilla.org automatically!