Don't depend on cx_Freeze for tests.
This commit is contained in:
parent
58b5d97d2c
commit
f355ee6282
@ -29,7 +29,8 @@ import os.path
|
|||||||
import sys
|
import sys
|
||||||
import distutils
|
import distutils
|
||||||
|
|
||||||
import cx_Freeze as cx
|
import cx_Freeze as cx # pylint: disable=import-error
|
||||||
|
# cx_Freeze is hard to install (needs C extensions) so we don't check for it.
|
||||||
|
|
||||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
|
||||||
from scripts import setupcommon
|
from scripts import setupcommon
|
||||||
|
@ -71,7 +71,7 @@ def get_dev_packages(short=False):
|
|||||||
short: Remove the version specification.
|
short: Remove the version specification.
|
||||||
"""
|
"""
|
||||||
packages = ['colorlog', 'flake8', 'astroid==1.2.1', 'pylint==1.3.1',
|
packages = ['colorlog', 'flake8', 'astroid==1.2.1', 'pylint==1.3.1',
|
||||||
'pep257', 'colorama', 'beautifulsoup4', 'cx_Freeze']
|
'pep257', 'colorama', 'beautifulsoup4']
|
||||||
if short:
|
if short:
|
||||||
packages = [re.split(r'[<>=]', p)[0] for p in packages]
|
packages = [re.split(r'[<>=]', p)[0] for p in packages]
|
||||||
return packages
|
return packages
|
||||||
|
Loading…
Reference in New Issue
Block a user