From 58b5d97d2caf3961c6e4e038fb615f729e7058de Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 5 Dec 2014 12:50:57 +0100 Subject: [PATCH] init_venv: Fix beautifulsoup4 package name. --- scripts/init_venv.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/init_venv.py b/scripts/init_venv.py index ee23a1102..ff0d5f72d 100644 --- a/scripts/init_venv.py +++ b/scripts/init_venv.py @@ -71,7 +71,7 @@ def get_dev_packages(short=False): short: Remove the version specification. """ packages = ['colorlog', 'flake8', 'astroid==1.2.1', 'pylint==1.3.1', - 'pep257', 'colorama', 'bs4', 'cx_Freeze'] + 'pep257', 'colorama', 'beautifulsoup4', 'cx_Freeze'] if short: packages = [re.split(r'[<>=]', p)[0] for p in packages] return packages @@ -102,6 +102,8 @@ def test_toolchain(): if g_args.dev: packages += get_dev_packages(short=True) for pkg in packages: + if pkg == 'beautifulsoup4': + pkg = 'bs4' print("Importing {}".format(pkg)) venv_python('-c', 'import {}'.format(pkg))