Right now I have some example files included in the setup.py file, but what do I do if I want to add the entire directory to DATA_FILES? And my script creates files aswell, so they have to be accessible and be stored together with the others. (I have just started with python so I am sorry if there is a very obvious solution to this!)
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['KeyPass.py']
DATA_FILES = ['kristoffer.txt', 'appicon.png', 'application.png','background-2.png', 'editimg.png', 'resultater.png', 'user.png']
OPTIONS = {
'iconfile':'appicon.icns',
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)