I'm trying to build my program on the OBS. Could you please tell me what the setup.py should look like to create a folder structure, for example if I have this:
../MyProgram
COPYING
README
mainscript.pyw
/applications
/app1
/icons
pic1.png
app1.py
/app2
/icons
pic2.png
/scripts
script1.py
script2.py
app2.py
etc.
I read the Python Docs, played with 'package_dir', 'packages' but the OBS still gives me errors it can't find the icon files. I guess the setup script doesn't create them. And when I tried to build an rpm locally, it gave me the same error. When I looked in the BUILD folder, there was no folder 'applications' created and nothing below it.
Will really appreciate your help. Please provide an example. Thank you.