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
9 lines
191 B
Python
9 lines
191 B
Python
"""
|
|
This is the script that is actually frozen into an executable: simply executes
|
|
py.test main().
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
import sys
|
|
import pytest
|
|
sys.exit(pytest.main()) |