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 
> <pythonmac-sig@python.org>:
> 
> 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@python.org
> https://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to