init_venv: Fix beautifulsoup4 package name.

This commit is contained in:
Florian Bruhin 2014-12-05 12:50:57 +01:00
parent 653fbe81d0
commit 58b5d97d2c

View File

@ -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))