Use PyInstaller for freeze test env

cx_freeze doesn't seem to be very well supported in Python 3.5.

Using pyinstaller instead and rename environment to "freeze" which
is a more generic term for freezing python code into standalone
executables.

Fix #1769
This commit is contained in:
Bruno Oliveira
2016-07-26 21:29:07 -03:00
parent d911bfcb8a
commit ed36d627e4
13 changed files with 69 additions and 138 deletions

View File

@@ -100,7 +100,8 @@ def pytest_namespace():
def freeze_includes():
"""
Returns a list of module names used by py.test that should be
included by cx_freeze.
included by cx_freeze/pyinstaller to generate a standalone
pytest executable.
"""
result = list(_iter_all_modules(py))
result += list(_iter_all_modules(_pytest))