Re: [Pythonmac-SIG] py2app error

2018-02-21 Thread Barry
> 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 >

Re: [Pythonmac-SIG] Python Launcher Pops Up When Py-based App Is Running (Mac)

2023-09-18 Thread Barry
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

[Pythonmac-SIG] Embedding MacPython in Matlab via mex file

2005-11-19 Thread Barry Wark
re appropriate forum if this isn't it. Thanks! Barry ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Setting up locale on Mac - how should this been done?

2009-10-04 Thread Barry Scott
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

Re: [Pythonmac-SIG] Setting up locale on Mac - how should this been done?

2009-10-07 Thread Barry Scott
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

[Pythonmac-SIG] py2app missing import statement

2010-02-09 Thread Barry Scott
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

Re: [Pythonmac-SIG] py2app missing import statement

2010-02-10 Thread Barry Scott
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

Re: [Pythonmac-SIG] py2app missing import statement

2010-02-12 Thread Barry Scott
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

Re: [Pythonmac-SIG] py2app missing import statement

2010-02-13 Thread Barry Scott
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

Re: [Pythonmac-SIG] OS X Python: can I explicitly set MACOSX_DEPLOYMENT_TARGET for extensions?

2015-10-27 Thread Barry Scott
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

Re: [Pythonmac-SIG] OS X Python: can I explicitly set MACOSX_DEPLOYMENT_TARGET for extensions?

2015-10-27 Thread Barry Scott
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

[Pythonmac-SIG] py2app questions

2016-09-25 Thread Barry Scott
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

Re: [Pythonmac-SIG] py2app release delayed

2016-12-20 Thread Barry Scott
> 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

Re: [Pythonmac-SIG] [Pyobjc-dev] py2app release delayed

2016-12-28 Thread Barry Scott
> 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]>>

Re: [Pythonmac-SIG] [Pyobjc-dev] py2app release delayed

2017-01-03 Thread Barry Scott
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

Re: [Pythonmac-SIG] [Pyobjc-dev] py2app release delayed

2017-01-10 Thread Barry Scott
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

Re: [Pythonmac-SIG] [Pyobjc-dev] py2app release delayed

2017-01-11 Thread Barry Scott
> 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

[Pythonmac-SIG] Prevent python install editing .bash_profile

2017-01-28 Thread Barry Scott
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

Re: [Pythonmac-SIG] Prevent python install editing .bash_profile

2017-01-31 Thread Barry Scott
> 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

Re: [Pythonmac-SIG] Prevent python install editing .bash_profile

2017-02-02 Thread Barry Scott
> 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

Re: [Pythonmac-SIG] py2app .app crashes... but only when downloaded (quarantine)

2017-02-02 Thread Barry Scott
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

Re: [Pythonmac-SIG] please advise me

2017-02-28 Thread Barry Scott
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]

Re: [Pythonmac-SIG] Errors on compiling in py2app - I have all of these modules installed- Very confused

2017-04-16 Thread Barry Scott
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.

Re: [Pythonmac-SIG] Unmodified environment for subprocesses

2018-01-22 Thread Barry Scott
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

Re: [Pythonmac-SIG] Failure on pip upgrade attempt

2018-02-12 Thread Barry Scott
/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 >

Re: [Pythonmac-SIG] Building plans .....

2020-03-09 Thread Barry Scott
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

Re: [Pythonmac-SIG] Building plans .....

2020-03-17 Thread Barry Scott
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

Re: [Pythonmac-SIG] Jack Jansen - Question on Python Launcher

2021-06-02 Thread Barry Scott
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

Re: [Pythonmac-SIG] Problems building a binary from cpython that can be installed in /Users/{USER}/Library

2021-11-14 Thread Barry Scott
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

[Pythonmac-SIG] py2app fails to build PyQt5 apps anymore

2021-12-21 Thread Barry Scott
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

Re: [Pythonmac-SIG] py2app fails to build PyQt5 apps anymore

2022-01-02 Thread Barry Scott
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

Re: [Pythonmac-SIG] py2app fails to build PyQt5 apps anymore

2022-01-03 Thread Barry Scott
> 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