Nuitka: Can nuitka use spec files

Created on 10 Apr 2019  路  3Comments  路  Source: Nuitka/Nuitka

Hi, there, not sure whether I should ask this here, but with pyinstaller I can generate an executable by compiling a .spec file which references a .py file, whereas when I try to do the same with nuitka the .exe generated inside a .spec.dist folder fails to run, and an error related to the .spec file is shown. Is this normal, in the sense that nuitka works only with .py files?

0.6.3
Python: 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)]
Executable: C:\Python27\python.exe
OS: Windows
Arch: x86

question

Most helpful comment

Based on my PyInstaller experience, I know what @nickrh75 is referring to. The answer is:

A .spec file is something specific to PyInstaller. They have invented this text file type for their own purposes - it has no meaning outside that.

So of course Nuitka doesn't understand those files - and neither would any other Python compiler, be it py2exe, cx-freeze or whatever.

All 3 comments

I have no idea what a spec file is supposed to be. A minimal example is really needed.

Based on my PyInstaller experience, I know what @nickrh75 is referring to. The answer is:

A .spec file is something specific to PyInstaller. They have invented this text file type for their own purposes - it has no meaning outside that.

So of course Nuitka doesn't understand those files - and neither would any other Python compiler, be it py2exe, cx-freeze or whatever.

Ok, thanks for the info @JorjMcKie.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesstidard picture jamesstidard  路  12Comments

Slyfoxy picture Slyfoxy  路  3Comments

anki-code picture anki-code  路  5Comments

ajkerrigan picture ajkerrigan  路  4Comments

dzg picture dzg  路  10Comments