> On 19 Feb 2018, at 22:32, Kevin Walzer wrote:
>
> A Tkinter app I am building on 10.13 with py2app 0.14 is crashing with this
> error:
>
> Traceback (most recent call last):
> File
> "/Users/kevin/Programming/quickwho/dist/QuickWho.app/Contents/Resources/__boot__.py",
> line 98, in
>
find asking on https://discuss.python.org/ works better.
Barry
___
Pythonmac-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
re appropriate forum if
this isn't it.
Thanks!
Barry
___
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
ocale()
(None, None)
>>> locale.setlocale( locale.LC_ALL, '' )
'C'
>>> locale.getlocale()
(None, None)
>>>
The default locale of (None, 'mac-roman') is useless as it
does not say which locale the user has selected in
System Preferences, Lang
On 4 Oct 2009, at 20:30, Ronald Oussoren wrote:
On 4 Oct, 2009, at 19:53, Barry Scott wrote:
I have a wxPython application (PySVN WorkBench) that is a bundle.
When the app runs the environment does not contain any of the usual
variables that would be used to into the locale, LANG, LC_ALL
xref output show that a.py does not import any thing.
I can find no message in the output abnout _bemacs.
Why is py2app unable to notice this import?
Barry
___
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/lis
On 9 Feb 2010, at 23:44, Barry Scott wrote:
> I've just started looking at py2app and I hit a problem with it failing to
> find
> an import.
>
> With a trivial program like:
>
> a.py
> import _bemacs
> ---
>
> py2app does not inclu
On 11 Feb 2010, at 12:10, Ronald Oussoren wrote:
>
> On 10 Feb, 2010, at 18:11, Christopher Barker wrote:
>
>> Barry Scott wrote:
>>> I made a mistake and got my PYTHONPATH wrong hence
>>> _bemacs cannot be found.
>>> I guess that in the face of an imp
On 12 Feb 2010, at 17:17, Christopher Barker wrote:
> Barry Scott wrote:
>> And the messages should clearly show their severity. I use prefixes of Info:
>> Warn: and Error: myself.
>
> as they say : patches welcome!
Like you have don't have the spare time work on t
newer deployment target allow
> more recent compilers and/or higher optimizations?
The upside is indeed better compiler and access to newer/fixed APIs.
Barry
>
> -Andrew
>
> ___
> Pythonmac-SIG maillist - [email protected]
> http
On Tuesday 27 October 2015 12:34:11 Ronald Oussoren wrote:
> Op 27 okt. 2015 om 09:42 heeft Barry Scott het
volgende geschreven:
> >> On 19 Oct 2015, at 16:25, Andrew Jaffe wrote:
> >>
> >> [Also posted to general python list...]
> >>
> >> I us
a known issue? I worked around it with a stub pkg_resources
package that reached into the python35.zip and pulled out the zoneinfo files.
It seems that py2app will package up all the files in a package, not just the
.py files. Is that the algorithm that is used?
Barry
> On 18 Dec 2016, at 20:39, Ronald Oussoren wrote:
>
> Hi,
>
> I had hoped to release a new version of py2app today, but didn’t due to
> problems with macholib that resulted in broken application bundles. The good
> news is that I found the cause of that breakage and reverted the patch that
> On 27 Dec 2016, at 19:36, Ronald Oussoren wrote:
>
>
>> On 21 Dec 2016, at 00:02, Barry Scott > <mailto:[email protected]>> wrote:
>>
>>>
>>> On 18 Dec 2016, at 20:39, Ronald Oussoren >> <mailto:[email protected]>>
i
And the os module conditionally inports nt.
What I did with my PythonWinAppPackager
https://github.com/barry-scott/PythonWinAppPackager
is have a list of false positives and I eliminate them from the summary.
The errors shown for six look odd as well but I have not investigated deeply.
The mimety
Ronald,
Attached is a patch that cleans up the false positives by allows the recipes to
tell build_app what is expected to be missing.
I can turn into a pull request if you like the direction of this patch.
Oh and the syntax errors in PyQt5 have been fixes for the 5.7.1 version.
Barry
> On 10 Jan 2017, at 19:20, Ronald Oussoren wrote:
>
>
>> On 10 Jan 2017, at 17:00, Barry Scott wrote:
>>
>> Ronald,
>>
>> Attached is a patch that cleans up the false positives by allows the recipes
>> to tell build_app what is expected to be m
Is it possible to prevent the editing of the shell profile when I install a
python kit?
I keep having to delete the, unnecessary for me, PATH editing.
Barry
___
Pythonmac-SIG maillist - [email protected]
https://mail.python.org/mailman
> On 31 Jan 2017, at 21:08, Ronald Oussoren wrote:
>
>
>> On 28 Jan 2017, at 17:42, Barry Scott wrote:
>>
>> Is it possible to prevent the editing of the shell profile when I install a
>> python kit?
>>
>> I keep having to delete the, unneces
> On 31 Jan 2017, at 21:19, Barry Scott wrote:
>
>
>> On 31 Jan 2017, at 21:08, Ronald Oussoren wrote:
>>
>>
>>> On 28 Jan 2017, at 17:42, Barry Scott wrote:
>>>
>>> Is it possible to prevent the editing of the shell profile when
Is there any change if you use the latest py2app 0.11?
Barry
> On 30 Jan 2017, at 19:14, David A. Riggs wrote:
>
> I've got a bizarre issue here. I've built a .app with py2app 0.10 on my OS X
> 10.9.5 machine using python.org <http://python.org/> Python 2.7.12. I
at VPython is not the default app to open python files.
At this point you can do a few things.
1. Dismiss the message with the Don;t show button.
2. Read “Chaging the …” in help and setup which app you want to open python
files.
Barry
>
> Maher Zidan
> [email protected]
If you are not the author of the code try asking the author for help.
Can you run the python code that you are trying to package?0
Does "pip3.6 list" show you have all the required dependencies installed for
this app?
Make sure you have the latest py2app installed which is 0.
dit your Appto
move its executable (named Info.plist) to one side and put a bash script in its
place that records the command line and env into a file for you to look at.
Then call you renamed executable as the last thing from the script.
Your exe is in .app/Contents/MacOS/.
Barry
>
&g
/lib/python36.zip',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload',
'/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages']
>>>
Barry
>
Pyhton.org builds,
> and they seem to be pretty old. The Mac has moved on and it seems it would b
> good to updated those build options anyway: Do we need 32 bit anymore? Do we
> need Universal builds anymore? Should we abandon the Framework build option
> altogether?
>
> My p
something.
Does this force the use of conda on macOS python users?
Or is it just asking for a build option that is conda friendly?
I have been happy use the python.org <http://python.org/> builds and py2app +
PyQt5.
Barry
>
> Because in a way Python on the mac (if you wa
ur program and keeping the window
open so that you can read what it printed.
Often new users complain that the Window flash and vanishes before they can
read the output.
This behaviours looks to be the solution to that common problem.
Barry
>
> guyde
ble would be to use the work from
>
> https://github.com/codrsquad/portable-python
> <https://github.com/codrsquad/portable-python>
>
> This is a recent project, not the one with the same name that was abandoned
> that you'll find here:
>
> https://portablep
show the issue.
As a comparison I have py2app and pyinstaller versions of the tests.
The pyinstaller version works and the py2app version fails.
The code is on github here:
https://github.com/barry-scott/scm-workbench/tree/master/Source/Experiments
Run ./build-py2app.sh to build and run the py2app
ts option is should be?
There is talk of a entitlemts.plist but I do seem to have that file at all.
Barry
>
> --
> Jack Jansen, mailto:[email protected]>>,
> http://www.cwi.nl/~jack <http://www.cwi.nl/~jack>
> If I can't dance I don't want to be part of y
> On 2 Jan 2022, at 13:02, Barry Scott wrote:
>
>
>
>> On 22 Dec 2021, at 23:36, [email protected] <mailto:[email protected]>
>> wrote:
>>
>> Hmm, my guess is that it fails when it fails when Qt tries to access the
>> window manager (the
32 matches
Mail list logo