зеркало из https://github.com/mozilla/gecko-dev.git
5152485bdc
To vendor a Python package, run ``mach vendor python [PACKAGE]``, where ``[PACKAGE]`` is one or more package names along with a version number in the format ``pytest==3.5.1``. The package will be installed, transient dependencies will be determined, and a ``requirements.txt`` file will be generated with the full list of dependencies. The requirements file is then used with ``pip`` to download and extract the source distributions of all packages into the ``third_party/python`` directory. If you're familiar with ``Pipfile`` you can also directly modify this in the in the top source directory and then run ``mach vendor python`` for your changes to take effect. This allows advanced options such as specifying alternative package indexed (see below), and `PEP 508 specifiers <https://www.python.org/dev/peps/pep-0508/>`_.§ MozReview-Commit-ID: CRWoFamUy7V --HG-- extra : rebase_source : e71ab6ecc74a168faa9df7cc4c2273cd8bf9e0d2 |
||
---|---|---|
.. | ||
index.rst |