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

2009-10-04 Thread Barry Scott
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 etc. What I can see in the environment is __CF_USER_TEXT_ENCODING. I have failed to find details of

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
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 include _bemacs. _bemacs is an extension in _bemacs.so. Python can import this and it all works fine. The xref ou

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
> On 19 Oct 2015, at 16:25, Andrew Jaffe wrote: > > [Also posted to general python list...] > > I use the python.org framework build of Python under recent versions of > OS X (i.e., 10.11 El Capitan). I need to build some extensions that rely > on recent versions of compilers (e.g., C++-11 feat

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
I’m a happy user of py2app and thanks to all the work that has gone into py2app. I’m using py2app to package a couple of apps that use PyQt and pytz. I found that the resulting app has the .dylib files in the python35.zip. Is that correct? I had assumed that .dylib files need to be in the .app a

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:ba...@barrys-emacs.org>> wrote: >> >>> >>> On 18 Dec 2016, at 20:39, Ronald Oussoren >> <mailto:ronaldousso...@mac.com>>

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 py2app

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 - Pythonmac-SIG@python.org https://mail.python.org/mailman/listin

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 Python 2.7.12. It's a > Tkinter application,

Re: [Pythonmac-SIG] please advise me

2017-02-28 Thread Barry Scott
> On 22 Feb 2017, at 03:27, Maher Zidan wrote: > > Hello, > I am new to programming in python, one thing is really important to me to > keep learning python is the Vpython Launcher app. > It keep hanging out when i use it for raw_input function or i want to > Visualize anything from my script

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.12. Barry ___

Re: [Pythonmac-SIG] Unmodified environment for subprocesses

2018-01-22 Thread Barry Scott
> On 21 Jan 2018, at 01:48, Tuomo Valkonen wrote: > > I’m working on a frontend to Borg backup, based on rumps > (http://rumps.readthedocs.io/en/latest/ > ). For using the keychain, etc., it > would be useful to turn the frontend into a standalone app.

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

2018-02-12 Thread Barry Scott
html module is shipped with python 3.6.4. Only thing I can think of is that your PYTHONPATH is interfering in some way. $ python3 Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more

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

2020-03-09 Thread Barry Scott
> On 9 Mar 2020, at 16:53, Christopher Barker wrote: > > All, > > (mostly Ned and Ronald...) > > TL:DR: > > Are there any plans to update the build scripts for the python.org > python(s)? It would be really nice to get the mac builds > more inline with the rest of the

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

2020-03-17 Thread Barry Scott
> On 16 Mar 2020, at 22:54, Jack Jansen wrote: > > >> >> but "conda" is a package management tool, a bit like yum or apt in the Linux >> world, or Brew, for that matter. except that: >> >> * It is platform independent -- it attempts to work the same way on all all >> platforms to the degree

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

2021-06-02 Thread Barry Scott
> On 30 May 2021, at 18:30, Guy DeStefano wrote: > > > Sorry to bother you, but I have one question that I cannot find an answer to, > could you please help. Am very new to Python3 and have written a small > program that is my base for my learning Python3. All is perfect except, > when I

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
our revolution -- Emma Goldman > > > >> On 21 Dec 2021, at 12:46, Barry Scott > <mailto:ba...@barrys-emacs.org>> wrote: >> >> For a long time I have been happily building my App bundles using py2app. >> At some point that stopped working. I do not have

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, jack.jan...@cwi.nl <mailto:jack.jan...@cwi.nl> >> wrote: >> >> Hmm, my guess is that it fails when it fails when Qt tries to access the >> window manager (the