enaml icon indicating copy to clipboard operation
enaml copied to clipboard

How to package enaml application with nuitka

Open keinagae opened this issue 2 years ago • 4 comments

keinagae avatar Sep 01 '21 07:09 keinagae

I have no experience with nuitka so I am not sure how much I can help. enaml files are converted upon import into valid Python bytecode that is then stored in the enamlc cache files. If you have a way to convince nuitka to use sourceless cache files not ending in .pyc it may be a first step forward.

If you could post a minimal setup of what you are trying to achieve it could try to have a look.

MatthieuDartiailh avatar Sep 01 '21 07:09 MatthieuDartiailh

While i was try to use it with nuitka problem is where we import nuitka files into python code as nuitka compiles python and while compiling lets say if our ui file is ui.enaml it will think that there is python module nammed ui so is it possible to compile enaml file to some python file

keinagae avatar Sep 01 '21 08:09 keinagae

If we can do that then generated file should be a valid python package and every thing should work then

keinagae avatar Sep 01 '21 08:09 keinagae

As I said you can obtain valid bytecode but I never tried to decompile it to source. Feel free to look into it.

MatthieuDartiailh avatar Sep 01 '21 08:09 MatthieuDartiailh