README.rst
So it file is the necessary very first read if you are curious in making use of Nuitka, discover their explore cases, see what you can assume, permit, standards, credits, etc.
Git stats
Nuitka is the Python compiler. It is printed in Python. 6, 2.eight, step 3.step three, 3.cuatro, step 3.5, 3.six, 3.seven, 3.8, 3.9, 3.10 features, when itself focus on with this Python version.
Nuitka converts the fresh Python segments on a-c height system one then spends libpython and you can static C data files of their individual so you can perform straight from the source in the sense while the CPython do.
Most of the optimization is aimed at to prevent over, where it is way too many. None is aimed at deleting compatibility, even when slight advancements will periodically be done, where not every insect from simple Python is emulated, elizabeth.g. a whole lot more complete mistake texts are provided, but there is however a complete compatibility setting so you’re able to eliminate also you to definitely.
- New MinGW64 C11 compiler into Windows, must be centered on gcc eleven.2 or more. It would be immediately installed when the no available C compiler is discover, which is the required way of installing it, since Nuitka will additionally enhance they for your requirements.
- Graphic Studio 2022 or higher on Screen , old sizes work but simply supported having industrial pages. Arrange to use the fresh new English vocabulary prepare having the greatest results (Nuitka filters away scrap outputs, however, simply for English code). It might be used by default if hung.
- Towards virtually any platforms, the latest gcc compiler of at least adaptation 5.step one, and you may below the grams++ compiler with a minimum of adaptation 4.4 as an alternative.
- The latest clang compiler on macOS X and more than FreeBSD architectures.
- Into the Windows the fresh clang-cl compiler on Window can be utilized in the event that provided by the brand new Visual Business installer.
Of these versions, you prefer a Python2 or Python 3.5 or maybe more strung too, however, just inside the attain time just. Which is to be used with Scons (hence orchestrates brand new C collection), which does not contain the same Python brands once the Nuitka.
At exactly the same time, into Window, Python2 cannot be used since the clcache doesn’t work with it, here an effective Python 3.5 or even more should be hung.
Nuitka discovers this type of required Python types (elizabeth.g. on the Windows via registry) and you also should not view it when they try hung.
All the more, other capabilities can be found when various other Python possess a specific package installed. Eg, onefile compression is useful for good Python 2.x whenever another Python is situated with the zstandard plan strung.
The newest authored binaries has actually an .exe suffix into Window. Towards almost every other programs they have zero suffix getting standalone function, or .container suffix, that you are absolve to treat or change, otherwise indicate with the -o solution.
The fresh new suffix for acceleration form was added only to guarantee that original software name plus the binary identity don’t actually ever collide, therefore we is also safely manage a keen overwrite as opposed to ruining the first source document.
You want the standard Python implementation, entitled “CPython”, to do Nuitka, since it is directly tied to execution details of it.
We know one to Window app shop Python needless to say cannot performs, it’s seemed against. And on macOS “pyenv” most likely can not work.
Other people get work as well. The brand new portability is anticipated is generally an effective, nevertheless elizabeth.g. Scons usage might have to feel adjusted. Make sure to fits Windows Python and C compiler frameworks, or you will rating cryptic mistake texts.
Most other architectures are expected so you’re able to as well as work, from the container, as the Nuitka may be staying away from any apparatus knowledge. These are just the people looked at and you can often proves to be a beneficial. Viewpoints are desired. Generally, the architectures you to Debian supporting is viewed as a beneficial and you will checked as well.