guarding scripts with __main__ and doc changes
tox-flakes environment tries to import the modules for checking, and that may fail because of its dependencies --HG-- branch : cx_freeze-support
This commit is contained in:
@@ -703,7 +703,8 @@ must declare them explicitly by using ``pytest.cx_freeze_support.includes()``::
|
||||
import pytest
|
||||
|
||||
setup(
|
||||
name="runtests",
|
||||
name="app_main",
|
||||
executables=[Executable("app_main.py")],
|
||||
options={"build_exe":
|
||||
{
|
||||
'includes': pytest.cx_freeze_support.includes()}
|
||||
|
||||
Reference in New Issue
Block a user