Closed jazzycamel closed 8 years ago
I can't really help you with this if there's no further stack trace. If you can, then please show the stacktrace. Also, it might be good to notify @rfk who's the most active developer here.
I do have the same issue, but with python 3.4 and esky 0.9.9. It seems that esky is not capable of identifying correctly the file (which is a directory actually) to copy. Has this issue been solved yet ?
Here is a full stack trace:
I'm not totally sure about what I'm going to say, but it seems that py2app does its job correctly, but then esky fails to build the app.
unfortunately i don't have a mac, all i can is say is run the tests and go from there, ryan seems busy these days :( https://github.com/cloudmatrix/esky/wiki/Contributing
ryan seems busy these days
Unfortunately true; I do watch these issues but they tend to build up in my inbox for a while these days :-(
I suspect the problem here is just that newer versions of python/py2app have changed the file layout slightly, and esky hasn't been updated to keep up. The relevant code seems to be [1] if anyone has the time and resources to figure out a patch.
[1] https://github.com/cloudmatrix/esky/blob/master/esky/bdist_esky/f_py2app.py#L118
Yep, that's exactly what it is. I just came home and didn't got the time to post. I basically changed
copy_to_bootstrap_env("Contents/Resources/lib/"+pydir+"/config")
to
copy_to_bootstrap_env("Contents/Resources/lib/"+pydir+"/config-3.4m")
And it solved my issue. It took me some time to find the problematic line.
For now, I just have this dirty fix (it will only work for python 3.4), but I will try to make a PR soon, if no one more capable than me hasn't made it. We need to find a way to predict the part after the "-" in "/config-"
@JPFrancoia im sure you are capable enough ^^
Actually, esky with py2app will not work with python2 after this modification.
When trying to build a simple test app (EskyExample) using Python3.3.3 and PyQt5 on OSX 10.9.3 (Mavericks) I get the following error when running "python3 setup.py bdist_esky":
When I look in the directory there is a sub-directory called "config3.3m" which I'm guessing is the required object but with a different name.
Have I got something misconfigured somewhere or is this a bug when using Python3.3?
I'm using esky 0.9.8 and py2app 0.9, both installed via easy_install.
I would appreciate any help or advice you can give, thanks.