def get_build_exe_options(): """Get build_exe options with additional includes.""" opts = freeze.get_build_exe_options(skip_html=True) opts['includes'] += pytest.freeze_includes() # pylint: disable=no-member opts['includes'] += ['unittest.mock', 'PyQt5.QtTest'] opts['packages'].append('qutebrowser') return opts
def get_build_exe_options(): """Get build_exe options with additional includes.""" opts = freeze.get_build_exe_options(skip_html=True) opts["includes"] += pytest.freeze_includes() # pylint: disable=no-member opts["includes"] += ["unittest.mock", "PyQt5.QtTest", "hypothesis", "bs4"] opts["packages"].append("qutebrowser") return opts
def get_build_exe_options(): """Get build_exe options with additional includes.""" opts = freeze.get_build_exe_options(skip_html=True) opts['includes'] += pytest.freeze_includes() # pylint: disable=no-member opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4'] opts['packages'].append('qutebrowser') return opts
def get_build_exe_options(): """Get build_exe options with additional includes.""" opts = freeze.get_build_exe_options(skip_html=True) opts['includes'] += pytest.freeze_includes() opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4', 'httpbin', 'jinja2.ext', 'cheroot', 'pstats', 'queue'] httpbin_dir = os.path.dirname(httpbin.__file__) opts['include_files'] += [ ('tests/end2end/data', 'end2end/data'), (os.path.join(httpbin_dir, 'templates'), 'end2end/templates'), ] opts['packages'].append('qutebrowser') return opts
def get_build_exe_options(): """Get build_exe options with additional includes.""" opts = freeze.get_build_exe_options(skip_html=True) opts['includes'] += pytest.freeze_includes() # pylint: disable=no-member opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4', 'httpbin', 'jinja2.ext', 'xvfbwrapper'] httpbin_dir = os.path.dirname(httpbin.__file__) opts['include_files'] += [ ('tests/integration/data', 'integration/data'), (os.path.join(httpbin_dir, 'templates'), 'integration/templates'), ] opts['packages'].append('qutebrowser') return opts