Conversation
|
I tweaked the |
|
Thanks - I'll take a look at this soon. |
|
@anthony-tuininga, is there some voodoo missing to make cx_Freeze work with this example? |
|
Also added PyOxidizer which seems to not work for this app due to Qt. ping @indygreg |
|
@jayvdb, I'll take a look but I don't use either macOS or Windows. You can ask @marcelotduarte if he is able to test on Windows or macOS. |
…hat this takes place (jamesabel/spafit#2).
|
For me, all that was missing was the cffi package (implicitly loaded by the cryptography package), so I added a hook for it. You can also use the following setup.py instead: |
|
@anthony-tuininga , when I try that addition to the Traceback (most recent call last):
File "/home/jayvdb/projects/python/spafit/test_cx_freeze_linux/venv/lib64/python3.7/site-packages/cx_Freeze/initscripts/__startup__.py", line 40, in run
module.run()
File "/home/jayvdb/projects/python/spafit/test_cx_freeze_linux/venv/lib64/python3.7/site-packages/cx_Freeze/initscripts/Console.py", line 23, in run
exec(code, {'__name__': '__main__'})
File "main.py", line 6, in <module>
import cryptography.fernet
File "/home/jayvdb/projects/python/spafit/test_cx_freeze_linux/venv/lib64/python3.7/site-packages/cryptography/fernet.py", line 18, in <module>
from cryptography.hazmat.primitives import hashes, padding
File "/home/jayvdb/projects/python/spafit/test_cx_freeze_linux/venv/lib64/python3.7/site-packages/cryptography/hazmat/primitives/padding.py", line 13, in <module>
from cryptography.hazmat.bindings._padding import lib
ImportError: libffi-d78936b1.so.6.0.4: cannot open shared object file: No such file or directoryWhen I use cx_Freeze git master, I still see that error, but with |
|
I have a patch (not merged yet) to catch this error: marcelotduarte/cx_Freeze#494 |
|
And about the change at setup mentioned by @anthony-tuininga, you have to have |
|
Ok, I got that to work by adding |
|
ping @jamesabel |
1 similar comment
|
ping @jamesabel |
Results were PyInstaller onefile and Nuitka passed, the others did not, but not much time was invested into trying to debug/correct them.