test_ok1/testing/cx_freeze/runtests_setup.py

12 lines
333 B
Python

from cx_Freeze import setup, Executable
import pytest
setup(
name="runtests",
version="0.1",
description="exemple of how embedding py.test into an executable using cx_freeze",
executables=[Executable("runtests_script.py")],
options={"build_exe": {'includes': pytest.cx_freeze_support.includes()}},
)