diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2018-09-03 14:25:59 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-09-11 19:34:38 +0530 |
commit | 6b75aa47cb6c34c6e34051ecd126e0982fc669e7 (patch) | |
tree | 17ab44dc170be67c370d916b488e49fac05dc971 /python/servo/bootstrap.py | |
parent | fcc06b5a1696f3ac01f20ed2a1a84363f379a95c (diff) | |
download | servo-6b75aa47cb6c34c6e34051ecd126e0982fc669e7.tar.gz servo-6b75aa47cb6c34c6e34051ecd126e0982fc669e7.zip |
Properly handle virtualenv
Diffstat (limited to 'python/servo/bootstrap.py')
-rw-r--r-- | python/servo/bootstrap.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py index d6d9dc1d1e6..c2c046d2609 100644 --- a/python/servo/bootstrap.py +++ b/python/servo/bootstrap.py @@ -67,7 +67,7 @@ def linux(context, force=False): # Please keep these in sync with the packages in README.md pkgs_apt = ['git', 'curl', 'autoconf', 'libx11-dev', 'libfreetype6-dev', 'libgl1-mesa-dri', 'libglib2.0-dev', 'xorg-dev', 'gperf', 'g++', - 'build-essential', 'cmake', 'virtualenv', 'python-pip', + 'build-essential', 'cmake', 'python-pip', 'libbz2-dev', 'libosmesa6-dev', 'libxmu6', 'libxmu-dev', 'libglu1-mesa-dev', 'libgles2-mesa-dev', 'libegl1-mesa-dev', 'libdbus-1-dev', 'libharfbuzz-dev', 'ccache', 'clang', 'libgstreamer1.0-dev', 'libgstreamer-plugins-base1.0-dev', @@ -87,6 +87,12 @@ def linux(context, force=False): pkgs_apt += ["libssl-dev"] else: pkgs_apt += ["libssl1.0-dev"] + + if context.distro_version == "14.04": + pkgs_apt += ["python-virtualenv"] + else: + pkgs_apt += ["virtualenv"] + elif context.distro == "Debian" and context.distro_version == "Sid": pkgs_apt += ["libssl-dev"] else: |