Bug 1437593 - Use pipenv for |mach doc| environment; r=ted

MozReview-Commit-ID: Ek2XnJRsDFI
This commit is contained in:
Dave Hunt
2018-03-27 13:10:05 +01:00
parent 16ad0f69a3
commit 109f99923a
4 changed files with 246 additions and 91 deletions

View File

@@ -51,9 +51,7 @@ class Documentation(MachCommandBase):
except which.WhichError:
return die('jsdoc not found - please install from npm.')
self._activate_virtualenv()
self.virtualenv_manager.install_pip_requirements(
os.path.join(here, 'requirements.txt'), quiet=True)
self.activate_pipenv(os.path.join(here, 'Pipfile'))
import moztreedocs
import webbrowser