aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach_bootstrap.py
Commit message (Collapse)AuthorAgeFilesLines
...
* mach_bootstrap: Don't get confused by interruptsBenjamin Herr2015-11-051-4/+4
| | | | | | | | | | | When mach_bootstrap got interrupted while it's setting up virtualenv or calling out to pip, it wouldn't repeat that step on subsequent runs, and mach fails because its environment isn't set up properly or dependencies are missing. So now we re-run virtualenv if activate_this.py doesn't exist, and only create the marker file for required packages after pip has returned successfully.
* Expand list of Python executable names to search in PATHCorey Farwell2015-09-291-16/+25
| | | | Fixes #7784
* Added error handling and improved error messaging when running mach without ↵Anthony Broad-Crawford2015-09-211-2/+17
| | | | python's virtualenv or pip installed
* Create a marker file to avoid running pip when possibleAidan Hobson Sayers2015-09-141-5/+14
|
* Use OS-agnostic filesystem paths in PythonCorey Farwell2015-09-081-8/+8
| | | | This will eventually need to be done for #1908
* Remove references to no-longer-in-tree Python packagesCorey Farwell2015-09-021-4/+0
|
* Revert "Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for ↵Corey Farwell2015-09-021-0/+37
| | | | | | breaking web-platform-tests." This reverts commit 47d6d958f58f5011742a18abcdd5a76bf4390966.
* Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking ↵Ms2ger2015-08-091-37/+0
| | | | | | | web-platform-tests. This reverts commit c315404db80c92a695531b0aa4bcf61c125a3bff, reversing changes made to b00583bd4e7169a6b952633df718268904f2bd0c.
* Use one Python virtual environment for all mach commandsCorey Farwell2015-08-081-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit: * Our Python dependency story was a bit of a mess. We had complete Python packages (wheels and directories) living in-tree, despite not having any changes from upstream. This is particularly bad because `setup.py` never gets run on these packages which could (sometimes silently) unintended breakage. * Python virtual environments (virtualenv) were only utilized for testing web-platform tests After this commit: * A single virtualenv (`python/_virtualenv`) is activated upon *every* call to mach * A requirements file (`python/requirements.txt`) is added to describe the dependencies needed by Python modules in `python/`. The child commit immediately following this will remove all the dependencies no longer needed in-tree (for the sake of keeping this commit readable). Relevant to https://github.com/servo/servo/issues/861 Fixes https://github.com/servo/servo/issues/6999
* Add flake8 to the tidy process for Python filesCorey Farwell2015-06-041-1/+1
| | | | | | | Fixes #6236 Also included in this commit are the changes need to make flake8 pass for the existing python file
* Fix tidy issues with Python files in python/Corey Farwell2015-06-021-1/+2
|
* Clarify Python version checking conditionalCorey Farwell2015-05-311-1/+1
|
* Make the test-wpt mach command support all the command line arguments of ↵James Graham2015-04-031-0/+3
| | | | | | wptrunner. Also remove the shell script and ensure that default options are set in a single location
* mozilla-central modules for debugger detectionMatthew Rasmus2014-11-231-0/+2
| | | | | | | | | Borrows two python modules from mozilla-central to give mach the ability to detect and pass arguments to a system's preferred debugger. Links to borrowed files: http://hg.mozilla.org/mozilla-central/file/c9cfa9b91dea/testing/mozbase/mozinfo/mozinfo/mozinfo.py http://hg.mozilla.org/mozilla-central/file/c9cfa9b91dea/testing/mozbase/mozdebug/mozdebug/mozdebug.py
* Cargoify servoJack Moffitt2014-09-081-0/+100