N
N
Nikolay2017-04-03 14:25:58
Python
Nikolay, 2017-04-03 14:25:58

Py2exe how to collect all files and folder?

How to correctly add the
data\
--gss\
--filepy\
build.py
help.py
update.py
file to the exe file in which three more folders are nested and there are both .py files and all sorts of pictures, etc.

from distutils.core import setup
import py2exe
setup( console=['build.py']
    options={"py2exe": {"includes":["help","update"]}},
    zipfile=None
)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question