my py2exe installation file. I have a module that I put together, it is in the project / lib / execution _timer.py (c)
I need to include this file in my assembly. no matter what i tried, it cannot find this module. if I manually copy the file to the distribution, it works fine. but how can I automatically enable this.
from distutils.core import setup
import py2exe
setup(
console=['file.py'],
zipfile=None,
options={
"py2exe":{
'includes': 'execution_timer'
}
}
)
source
share