On 14 Mar, 2011, at 18:53, Dan Ross wrote:

> Hi all-
> 
> I have a very small and simple Tkinter/Python 3.2 app that I'm trying to 
> bundle with py2app.

I'm currently sprinting at Pycon and will do a new release afterwards. The 
current tip of the development repositories should work though, although they 
are lightly tested at the moment. 

The repositories are:
* https://bitbucket.org/ronaldoussoren/altgraph
* https://bitbucket.org/ronaldoussoren/macholib
* https://bitbucket.org/ronaldoussoren/modulegraph
* https://bitbucket.org/ronaldoussoren/py2app

You'll have to install the packages in this order, there have bee some API 
additions and bugfixes that require you to install all of them.

My focus with the sprints is on CPython bugfixes as well improving the 
documentation and test coverage of py2app and supporting modules (whereby 
"improving the test coverage" means that I've started at no coverage at all a 
month or so ago).

Ronald

> 
> After updating py2app and it's dependencies to "dev" versions I still get the 
> following error:
> 
> 
> *** creating application bundle: gui ***
> Traceback (most recent call last):
>  File 
> "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py",
>  line 604, in _run
>    self.run_normal()
>  File 
> "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py",
>  line 675, in run_normal
>    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
>  File 
> "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py",
>  line 772, in create_binaries
>    target, arcname, pkgexts, copyexts, target.script)
>  File 
> "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py",
>  line 1253, in build_executable
>    sys.version[:3])), os.path.join(inc_dir, 'pyconfig.h'))
>  File 
> "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/distutils/cmd.py",
>  line 350, in copy_file
>    dry_run=self.dry_run)
>  File 
> "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/distutils/file_util.py",
>  line 106, in copy_file
>    "can't copy '%s': doesn't exist or not a regular file" % src)
> distutils.errors.DistutilsFileError: can't copy 
> '/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2/pyconfig.h':
>  doesn't exist or not a regular file
>> /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/distutils/file_util.py(106)copy_file()
> -> "can't copy '%s': doesn't exist or not a regular file" % src)
> (Pdb)
> 
> 
> From snooping around in 
> Library/Frameworks/Python.framework/Versions/3.2/include/ in looks like the 
> python folder is named python3.2m rather than just python.
> 
> Does this sound familiar or am I barking up the wrong tree?
> 
> Oh. OS 10.6.6 Python 3.2 64bit
> 
> Thanks,
> 
> Dan
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to