← Back to team overview

phatch-dev team mailing list archive

[Bug 381169] Re: setup.py fails on macosx

 

** Changed in: phatch
       Status: Fix Committed => Fix Released

** Changed in: phatch/0.2
       Status: Fix Committed => Fix Released

-- 
setup.py fails on macosx
https://bugs.launchpad.net/bugs/381169
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Released
Status in Phatch 0.2 series: Fix Released

Bug description:
I downloaded Phatch 0.1.15 for my Mac (Leopard 10.5.7) and executed the command:

sudo python setup.py install
and was rewarded with the message:
"Sorry your platform is not yet supported."

I defeated him by changing phatch/core/config.py line #40
from
    if sys.platform[:5] == 'linux' :
to
    if ((sys.platform[:5] == 'linux') or (sys.platform[1:6] == 'arwin')) :

then tried again:
sudo python setup.py install
... stuff deleted ...
Installation finished! You can now run Phatch by typing 'phatch'

And indeed phatch runs as advertised.

----///----

I had to install wxPython for Leopard (wx 2.8 for python 2.5) and I'm providing this information as someone else may find this useful.
I following the sourceforge links from:
http://www.wxpython.org/download.php
to
http://sourceforge.net/project/showfiles.php?group_id=10718&package_id=10559
I downloaded and installed this:
wxPython2.8-osx-ansi-2.8.10.1-universal-py2.5.dmg