[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: MacOS python/GUI issues
From: |
Carl D. Sorensen |
Subject: |
FW: MacOS python/GUI issues |
Date: |
Sun, 19 Oct 2008 16:43:05 -0600 |
After this test, I realized that VERSION was a file in the LilyPond
distribution, so I copied all of the downloaded files into my LilyPond build
directory.
This time I got a different error:
sorensen2:lilypond-working Carl$ python setup.py py2app --iconfile
lilypond.icnsrunning py2app
*** filtering dependencies ***
408 total
401 filtered
1 orphaned
7 remaining
*** create binaries ***
*** byte compile python files ***
skipping byte-compilation of
/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/bootstrap/bo
ot_app.py to boot_app.pyc
skipping byte-compilation of
/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/bootstrap/ch
dir_resource.py to chdir_resource.pyc
skipping byte-compilation of
/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/bootstrap/di
sable_linecache.py to disable_linecache.pyc
Traceback (most recent call last):
File
"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.p
y", line 548, in _run
self.run_normal()
File
"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.p
y", line 619, in run_normal
self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File
"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.p
y", line 683, in create_binaries
dry_run=self.dry_run)
File
"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/util.py",
line 204, in byte_compile
if force or newer(mod.filename, cfile):
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/dist
utils/dep_util.py", line 22, in newer
raise DistutilsFileError, "file '%s' does not exist" % source
DistutilsFileError: file
'/Library/Python/2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.
pyc' does not exist
>
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils
/dep_util.py(22)newer()
-> raise DistutilsFileError, "file '%s' does not exist" % source
I'll be happy to do whatever you suggest I should do to try to resolve this.
Carl
------ Forwarded Message
From: Carl Sorensen <address@hidden>
Date: Sat, 18 Oct 2008 13:51:54 -0600
To: <address@hidden>
Cc: Lily-Devel List <address@hidden>
Conversation: MacOS python/GUI issues
Subject: Re: MacOS python/GUI issues
On 10/3/08 4:18 PM, "Han-Wen Nienhuys" <address@hidden> wrote:
> You need to have a python (2.4 or newer) installation that includes py2app,
>
> http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
>
Installed, but I'm not sure how to check that it installed correctly. I was
able to do the first step of the py2app tutorial, and successfully created
setup.py. But I don't have a tutorial app to build.
I copied convert-ly.py to my MyApplication.py in my test directory, and it
looks like py2app is running.
> when you have that, you should check out the lilypad installer at
>
> http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=shortlog;h=refs/heads/mac
> os-lilypad
OK, so when I did this I ended up with a .tar.gz. When I extracted it, I
got a lilypond directory, with names that looked right to me.
> where the .icns is from
>
> http://cvs.savannah.gnu.org/viewcvs/*checkout*/installers/macos/lilypond.icns?
> root=lilypond
I downloaded lilypond.icns, and placed it in the lilypond directory created
from the .tar.gz file above.
>
> then it should work if you do
>
> python setup.py py2app --iconfile lilypond.icns
When I tried this, I got the following error message:
Traceback (most recent call last):
File "setup.py", line 17, in <module>
CFBundleShortVersionString = open ('VERSION').read (),
IOError: [Errno 2] No such file or directory: 'VERSION'
Any thoughts on what I need to do next?
Carl
------ End of Forwarded Message
- Re: MacOS python/GUI issues, (continued)
- Re: MacOS python/GUI issues, Han-Wen Nienhuys, 2008/10/03
- Re: MacOS python/GUI issues, Han-Wen Nienhuys, 2008/10/03
- Re: MacOS python/GUI issues, Josh Parmenter, 2008/10/03
- Re: MacOS python/GUI issues, Carl D. Sorensen, 2008/10/03
- Re: MacOS python/GUI issues, Stan Sanderson, 2008/10/03
- Re: MacOS python/GUI issues, Chris Sawer, 2008/10/04
- Re: MacOS python/GUI issues, Johannes Schindelin, 2008/10/06
- Re: MacOS python/GUI issues, Patrick McCarty, 2008/10/06
- Re: MacOS python/GUI issues, Valentin Villenave, 2008/10/08
- Re: MacOS python/GUI issues, Carl D. Sorensen, 2008/10/18
- FW: MacOS python/GUI issues,
Carl D. Sorensen <=
- Re: FW: MacOS python/GUI issues, Han-Wen Nienhuys, 2008/10/19
- Re: MacOS python/GUI issues, Carl D. Sorensen, 2008/10/20
- Re: MacOS python/GUI issues, Graham Percival, 2008/10/20
- Re: MacOS python/GUI issues, Carl D. Sorensen, 2008/10/20
- Re: MacOS python/GUI issues, Han-Wen Nienhuys, 2008/10/20
Re: MacOS python/GUI issues, Han-Wen Nienhuys, 2008/10/18