Modify

Ticket #768 (new enhancement)

Opened 22 months ago

py2app .app default file name

Reported by: anonymous Owned by: quinox
Priority: normal Milestone: Release 1.2.17
Component: nicotine Version: SVN
Keywords: Cc:

Description

using osx 10.6 with macports

When I use py2app to make an .app, it generates a file called nicotine. I think it would be better if this deafults to Nicotine+.app

i followed these steps :-

install xcode (download from dev site)

install latest xquartz

install macports

sudo port -v selfupdate

sudo port install py27-gtk

sudo port install gtk-theme-switch

sudo port install gnome-themes

sudo port install subversion

svn checkout http : nicotine-plus.org/svn/trunk/nicotine+ nicotine+

cd nicotine+

/opt/local/bin/switch2 <- set preferred theme for gtk

sudo port install py27-py2ap

set argv_emulation to False in setup.py

python2.7 setup.py py2applet-2.7 -A

set argv_emulation to True in the created .app's .plist file afterwards

Using this py2app method you can update the code and it will still work ok becuase it is just symlinked to ~/.nicotine

copy the .app to applicaionts folder

this way can run nicotine+ via command line -> python2.7 ./nicotine.py

or via a nice .app (which i prefer)

thanks

Attachments

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.