From ronaldoussoren at mac.com Tue Jul 10 03:46:54 2018 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Tue, 10 Jul 2018 09:46:54 +0200 Subject: [Pythonmac-SIG] Towards PyObjC 5.0 Message-ID: <6D02644C-BA8C-459C-B3D3-8E73B8179601@mac.com> Hi, Just a quick message about development on PyObjC 5.0. The process of updating PyObjC for macOS 10.14 is going faster than expected, although it has helped that I took time of from work during WWDC to work on this. I expect to push out a first beta release of PyObjC 5 during the EuroPython 2018 sprints. This release should be feature complete (barring surprises in future SDK betas). This is turning out to be a major milestone for PyObjC: with some luck PyObjC 5.0 will support almost all public frameworks in macOS, with the exception of deprecated frameworks that aren?t already wrapped and the Metal frameworks (Metal and MetalPerformanceShaders). Major items on my TODO list until then: - Finish a number of bindings that require manual wrappers due to APIs that are too complex to expres correctly in metadata files - Work on support for APIs that have SIMD types as arguments or return values (such as vector_float3 in ObjC) - Work on providing DeprecationWarnings for APIs that are deprecated in macOS. The basic framework for this is present, I ?just? have add correct metadata for this. Beyond 5: My current plan is that PyObjC 5 will be the last version of PyObjC that supports Python 2.7 and PowerPC. I have not yet decided on 32-bit x86 support, that might be dropped as well (at least in the released binaries). Dropping support for 32-bit x86 would primarily make it easier to provide wheels, as the compiler tools in Xcode 10 no longer support that architecture. Ronald From ronaldoussoren at mac.com Fri Jul 27 09:12:50 2018 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Fri, 27 Jul 2018 14:12:50 +0100 Subject: [Pythonmac-SIG] ANN: py2app 0.15 Message-ID: <90CA84B1-C958-44ED-9562-2EA5FF8379BA@mac.com> Hi, I just pushed py2app 0.15 to PyPI. This has basically one change from the previous release: This release supports Python 3.7. There are also updates to altgraph, modulegraph and macholib that should get automatically installed as well. Ronald From dsimmons222 at earthlink.net Fri Jul 27 13:56:05 2018 From: dsimmons222 at earthlink.net (David Simmons) Date: Fri, 27 Jul 2018 10:56:05 -0700 Subject: [Pythonmac-SIG] py2app is not finding imported libraries Message-ID: <752A3068-BE78-4CB7-A89A-966D4DC32D7A@earthlink.net> Do not know where else to seek help as I have extensively searched for months on the internet without finding a hint to fix the problem. I am using Apple OS X 10.13.6 and Python 3.5.2. All attempts to use py2app with the -A option and without fail to find PyQT4 and reportlab libraries. I use tinter for the GUI and reportlab to write PDF?s. Any clue on how to solve this problem would be greatly appreciated. NOTE: py2app was working fine before and then started failing. David Simmons From ronaldoussoren at mac.com Sun Jul 29 03:54:22 2018 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Sun, 29 Jul 2018 08:54:22 +0100 Subject: [Pythonmac-SIG] py2app is not finding imported libraries In-Reply-To: <752A3068-BE78-4CB7-A89A-966D4DC32D7A@earthlink.net> References: <752A3068-BE78-4CB7-A89A-966D4DC32D7A@earthlink.net> Message-ID: <52D747D7-B050-4E79-9576-A03C3D2045ED@mac.com> Could you create a small reproducer and sent me it as well as the output of ?python3 setup.py py2app -A?, the output of ?python3 -mpip list? and a list of files in the generated app bundle (in a Terminal window: find dist/MyApp.app -ls)? With some luck this will help me find the issue. And just to avoid the obvious problem: does importing both libraries work when you don?t use py2app? And finally some questions about the python installation: * How did you install Python 3.5.2? (Python.org installer, homebrew, ?) * Have you installed other Python versions (such as 3.6 or 3.7)? Ronald > On 27 Jul 2018, at 18:56, David Simmons wrote: > > Do not know where else to seek help as I have extensively searched for months on the internet without finding a hint to fix the problem. > > I am using Apple OS X 10.13.6 and Python 3.5.2. All attempts to use py2app with the -A option and without fail to find PyQT4 and reportlab libraries. I use tinter for the GUI and reportlab to write PDF?s. > > Any clue on how to solve this problem would be greatly appreciated. > > NOTE: py2app was working fine before and then started failing. > > David Simmons > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at bcs.co.nz Sun Jul 29 16:13:06 2018 From: dave at bcs.co.nz (David Brooks) Date: Mon, 30 Jul 2018 08:13:06 +1200 Subject: [Pythonmac-SIG] py2app is not finding imported libraries In-Reply-To: <52D747D7-B050-4E79-9576-A03C3D2045ED@mac.com> References: <752A3068-BE78-4CB7-A89A-966D4DC32D7A@earthlink.net> <52D747D7-B050-4E79-9576-A03C3D2045ED@mac.com> Message-ID: Hmm and FWIW, why is PyQt4 being referenced when Tkinter is being used as the GUI?? (I'm assuming `tinter` is a typo as I can find no reference to any Python package called that.) Dave On 29/07/18 7:54 PM, Ronald Oussoren via Pythonmac-SIG wrote: > Could you create a small reproducer and sent me it as well as the > output of ?python3 setup.py py2app -A?, the output of ?python3 -mpip > list? and a list of files in the generated app bundle (in a Terminal > window: find dist/MyApp.app -ls)? With some luck this will help me > find the issue.? > > And just to avoid the obvious problem: does importing both libraries > work when you don?t use py2app?? > > And finally some questions about the python installation: > * How did you install Python 3.5.2? ?(Python.org > ?installer, homebrew, ?) > * Have you installed other Python versions (such as 3.6 or 3.7)?? > > Ronald > >> On 27 Jul 2018, at 18:56, David Simmons > > wrote: >> >> Do not know where else to seek help as I have extensively searched >> for months on the internet without finding a hint to fix the problem. >> >> I am using Apple OS X 10.13.6 and Python 3.5.2. ?All attempts to use >> py2app with the -A option and without fail to find PyQT4 and >> reportlab libraries. ?I use tinter for the GUI and reportlab to write >> PDF?s. >> >> Any clue on how to solve this problem would be greatly appreciated. >> >> NOTE: ?py2app was working fine before and then started failing. >> >> David Simmons >> _______________________________________________ >> Pythonmac-SIG maillist ?- ?Pythonmac-SIG at python.org >> >> https://mail.python.org/mailman/listinfo/pythonmac-sig >> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > > > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG -------------- next part -------------- An HTML attachment was scrubbed... URL: