File location on Mac

34 views
Skip to first unread message

Konrad Hofbauer

unread,
Dec 5, 2008, 11:08:21 PM12/5/08
to web...@googlegroups.com
Just as feedback:

web2py comes on the mac as application bundle web2py.app (excellent!).
Its natural place (where the user puts it, same as all other apps) is
/Applications/web2py.app

web2py now puts at runtime all its files and data into the
application-bundle, which is quite a no-no on Mac.

The application-bundle should never change (except for updates). Neither
preferences nor user data belong in there.

So what is the "Resources" folder in the app-bundle, the better place
would be ~/Library/Application\ Support/web2py inside the user folder.

Another place could be ~/Sites, but then care would have to be taken
that the system's apache does not share the web2py folders.


1) The user would never expect data in /Applications (I did not even
cross my mind web2py could put its stuff there - i had to create a file
in the GUI and search for it).

2) Stuff in /Applications does normally not get backuped

3) With all in ~/Library web2py is multi-user capable as any other app.


If this is for now too much work to implement, please at least put a
prominent info next to the download link and the server gui. It's really
not obvious on Mac.

Cheers,
/Konrad

Yarko Tymciurak

unread,
Dec 6, 2008, 1:52:00 AM12/6/08
to web...@googlegroups.com
web2py.app is made with py2app  (setuptools);   have a look in web2py at setup_app.py
Reply all
Reply to author
Forward
0 new messages