gecko-dev/python/mozboot
Mitchell Hentges eebabfffe5 Bug 1730712: Split on-disk venv logic from MozSiteManager r=ahal
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
2021-11-17 20:54:23 +00:00
..
bin Bug 1738301 - Update the link to mercurial bundle documentation. r=mhentges 2021-11-02 14:49:46 +00:00
mozboot Bug 1730712: Split on-disk venv logic from MozSiteManager r=ahal 2021-11-17 20:54:23 +00:00
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!