From ronaldoussoren at mac.com Wed Sep 16 05:20:22 2020 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Wed, 16 Sep 2020 11:20:22 +0200 Subject: [Pythonmac-SIG] [ANN] py2app 0.22 Message-ID: <250F3D49-056A-4C11-8858-DA25A22530A5@mac.com> Hi, I?ve uploaded py2app 0.22 to PyPI. This contains a small number of bug fixes, most important of which was an problem when deploying to macOS 10.9 or 10.10. * #300: Add support for ARM64 and Universal 2 binaries NOTE: Support is highly experimental, these stubs have not been tested yet. * #299: Fix build error when building with the copy of Python 3 shipped with Xcode. * #281: Generated bundle doesn't work on macOS 10.9 and 10.10. Ronald ? Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From terryacree at icloud.com Wed Sep 16 15:56:48 2020 From: terryacree at icloud.com (Terry Acree) Date: Wed, 16 Sep 2020 15:56:48 -0400 Subject: [Pythonmac-SIG] Can't complete py2app build Message-ID: <4AE3FB26-CFB1-45C1-87F3-ECCA59B09C3F@icloud.com> Sorry to bother you but i can?t get py2app to complete. all packages up to date py2app 0.22. error raise ValueError("%r does not exist" % (pathname,)) ValueError: '/opt/anaconda3/lib/libpython3.7.dylib' does not exist test module ?gaussapp.py? import math def gaussian(amp, delta, rt): if delta == 0: delta = 0.0003 n, point, peak, time, y = 0, [], [], rt-delta/2, 0 while n != 20: sn = ((rt-time)/(.15*delta))**2 y = amp*math.exp(- sn) time = time + delta/19 point = [time, y] n = n + 1 peak.append(point) peak[0][1] = 0.0 peak[19][1] = 0.0 return peak if __name__ == "__main__": amp = 500000 delta = 0.002 rt = 7.0 i = 0 stuff = gaussian(amp,delta,rt) while i != 20: print (stuff[i]) py2app test ?setup_gaussapp.py? APP = ['gaussapp.py'] DATA_FILES = [] OPTIONS = {'argv_emulation': True, 'iconfile': 'Divine.icns' } setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From the_shelter at yahoo.com Sun Sep 27 03:18:06 2020 From: the_shelter at yahoo.com (The Shelter) Date: Sun, 27 Sep 2020 09:18:06 +0200 Subject: [Pythonmac-SIG] Can't complete py2app build In-Reply-To: <4AE3FB26-CFB1-45C1-87F3-ECCA59B09C3F@icloud.com> References: <4AE3FB26-CFB1-45C1-87F3-ECCA59B09C3F@icloud.com> Message-ID: I recommend switching to pyinstaller. It seems well better maintained and is very straightfwd. I myself switched after much trouble w/ py2app on Python3. Cheers > Am 26.09.2020 um 17:35 schrieb Terry Acree via Pythonmac-SIG : > > ?Sorry to bother you but i can?t get py2app to complete. all packages up to date py2app 0.22. > > error > raise ValueError("%r does not exist" % (pathname,)) > ValueError: '/opt/anaconda3/lib/libpython3.7.dylib' does not exist > > test module ?gaussapp.py? > import math > > def gaussian(amp, delta, rt): > if delta == 0: > delta = 0.0003 > n, point, peak, time, y = 0, [], [], rt-delta/2, 0 > > while n != 20: > sn = ((rt-time)/(.15*delta))**2 > y = amp*math.exp(- sn) > time = time + delta/19 > point = [time, y] > n = n + 1 > peak.append(point) > > peak[0][1] = 0.0 > peak[19][1] = 0.0 > > return peak > > if __name__ == "__main__": > amp = 500000 > delta = 0.002 > rt = 7.0 > > i = 0 > stuff = gaussian(amp,delta,rt) > while i != 20: > print (stuff[i]) > > py2app test ?setup_gaussapp.py? > > APP = ['gaussapp.py'] > DATA_FILES = [] > OPTIONS = {'argv_emulation': True, 'iconfile': 'Divine.icns' > } > setup( > app=APP, > data_files=DATA_FILES, > options={'py2app': OPTIONS}, > setup_requires=['py2app'], > ) > > > > > _______________________________________________ > 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 ronaldoussoren at mac.com Sun Sep 27 04:42:04 2020 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Sun, 27 Sep 2020 10:42:04 +0200 Subject: [Pythonmac-SIG] Can't complete py2app build In-Reply-To: <4AE3FB26-CFB1-45C1-87F3-ECCA59B09C3F@icloud.com> References: <4AE3FB26-CFB1-45C1-87F3-ECCA59B09C3F@icloud.com> Message-ID: <2FF5C4C2-FC23-4F1C-ADE0-1442D2AF76BD@mac.com> > On 16 Sep 2020, at 21:56, Terry Acree via Pythonmac-SIG wrote: > > Sorry to bother you but i can?t get py2app to complete. all packages up to date py2app 0.22. > > error > raise ValueError("%r does not exist" % (pathname,)) > ValueError: '/opt/anaconda3/lib/libpython3.7.dylib' does not exist I don?t use Anaconda myself, so can?t easily test. Does this file exist on your system? The error happens because some library or Python extension refers to this library in the dependencies in its Mach-O binary header. Ronald ? Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronaldoussoren at mac.com Sun Sep 27 04:43:08 2020 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Sun, 27 Sep 2020 10:43:08 +0200 Subject: [Pythonmac-SIG] Can't complete py2app build In-Reply-To: References: <4AE3FB26-CFB1-45C1-87F3-ECCA59B09C3F@icloud.com> Message-ID: > On 27 Sep 2020, at 09:18, The Shelter via Pythonmac-SIG wrote: > > > I myself switched after much trouble w/ py2app on Python3. Did you file issues about those? Ronald ? Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/