Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to package enaml application with nuitka #451

Open
keinagae opened this issue Sep 1, 2021 · 4 comments
Open

How to package enaml application with nuitka #451

keinagae opened this issue Sep 1, 2021 · 4 comments

Comments

@keinagae
Copy link

keinagae commented Sep 1, 2021

No description provided.

@MatthieuDartiailh
Copy link
Member

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.

@keinagae
Copy link
Author

keinagae commented Sep 1, 2021

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
Copy link
Author

keinagae commented Sep 1, 2021

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

@MatthieuDartiailh
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants