Matthieu Dartiailh

Results 147 comments of Matthieu Dartiailh

Could you share the kind of error you get ?

Looking briefly through PyInstaller docs, I feel like you need to help PyInstaller realize it needs to package the enaml files (as data files).

Yeah but .enaml files cannot be identified by pyinstaller as being needed since for an import it is only gonna look for a matching .py which does not exist. In...

Using the following I was able to package the employee example: ``` pyinstaller employee/employee.py --hiddenimport "enaml.core.compiler_helpers" --hiddenimport "atom.api" --add-data employee/employee_view.enaml:. --hiddenimport "enaml.layout.api" --hiddenimport "enaml.core.enamldef_meta" --hiddenimport "enaml.widgets.api" --hiddenimport "phone_validator" ``` It...

To do a better job, we will need a fairly complex hook to inspect all the .enaml files of the packaged application to find missing imports, to package the lextab...

This sounds great. Could you post the resulting traceback for reference ? I will do my best to review this week.

@frmdstryr I am a bit swamped at the moment so please ping me when you want a review.

That does not make any sense. What happens if you simply reraise the same exception rather than the declarative one.

I do lot have an alternate idea. I am not surprised you need to know what failed to fix the issue bit knowing where to look is really helpful. Currently...