Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mach bootstrap - activate virtual env #24567

Merged
merged 2 commits into from Nov 15, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

mach activate virtual env for bootstrap

  • Loading branch information
JoshMcguigan committed Oct 28, 2019
commit 01978ccf32e06c7f285365abc511e3b8d6975ebb
@@ -224,6 +224,14 @@ class DummyContext(object):


def bootstrap_command_only(topdir):
# See if we're inside a Firefox checkout.
parentdir = os.path.normpath(os.path.join(topdir, '..'))
is_firefox = os.path.isfile(os.path.join(parentdir,
'build/mach_bootstrap.py'))
# we should activate the venv before importing servo.boostrap
# because the module requires non-standard python packages
_activate_virtualenv(topdir, is_firefox)

from servo.bootstrap import bootstrap

context = DummyContext()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.