It is a seamless replacement otherwise extension into the Python interpreter and you can compiles all build you to CPython dos

README.rst

Which file is the needed earliest comprehend while you are curious in using Nuitka, see their use circumstances, have a look at what you can expect, license, standards, credits, etcetera.

Git statistics

Nuitka is the Python compiler. It’s printed in Python. 6, 2.eight, 3.step three, 3.cuatro, step 3.5, step 3.six, step 3.7, 3.8, step three.9, step three.10 features, when alone work at with that Python type.

Nuitka translates new Python modules on a-c peak program one to after that uses libpython and static C records of their own to perform in the same way because the CPython do.

All the optimisation is aimed at to avoid overhead, where it is way too many. Nothing is aimed at removing compatibility, no matter if limited advancements often from time to time be done, where not every insect away from fundamental Python are emulated, age.grams. even more done mistake messages are offered, but there is a full compatibility form so you’re able to eliminate actually you to definitely.

  • New MinGW64 C11 compiler on Window, should be based on gcc eleven.dos or more. It would be automatically downloaded in the event that no available C compiler is located, the needed way of establishing it, given that Nuitka will change they for your requirements.
  • Visual Studio 2022 or maybe more towards the Screen , old items work however, just offered to possess commercial users. Configure to make use of the fresh English code package getting the greatest results (Nuitka filter systems away rubbish outputs, however, only for English code). It could be used by default in the event the hung.
  • Into the all other networks, the newest gcc compiler of at least version 5.step one, and lower than that the grams++ compiler with a minimum of adaptation cuatro.cuatro alternatively.
  • The brand new clang compiler with the macOS X and more than FreeBSD architectures.
  • With the Screen the latest clang-cl compiler towards the Screen can be used in the event the provided by new Graphic Facility installer.

For those versions, you prefer an excellent Python2 otherwise Python 3.5 or maybe more hung too, however, merely for the secure time only. That’s for usage with Scons (and therefore orchestrates the latest C collection), and this will not secure the exact same Python items since the Nuitka.

Concurrently, for the Window, Python2 can’t be made use of as clcache does not work inside, here a good Python step 3.5 or even more has to be installed.

Nuitka finds out these types of needed Python models (age.grams. to your Windows thru registry) and also you shouldn’t see it should they was hung.

Increasingly, most other abilities is available when another Python has a specific package installed. Eg, onefile compression is wonderful for an excellent Python dos.x whenever another Python is found with the zstandard plan installed.

The newest composed binaries provides a keen .exe suffix to the Screen. On the almost every other networks they have zero suffix to possess stand alone setting, or .container suffix, you are free to cure otherwise transform, or indicate toward -o option.

Brand new suffix to possess velocity function is extra just to verify the brand spanking new software name together with binary title do not actually ever collide, so we is also safely perform a keen overwrite without damaging the original provider file.

You want the quality Python implementation, titled „CPython”, to do Nuitka, since it is closely tied to implementation details of they.

We know that Windows application shop Python without a doubt cannot performs, it’s featured facing. And on macOS „pyenv” more than likely does not work.

Anyone else get be as effective as. This new portability is anticipated to-be fundamentally a great, nevertheless the age.grams. Scons use might have to feel adjusted. Definitely fits Windows Python and you will C compiler buildings, or else you will rating cryptic error messages.

Other architectures are expected so you can in addition to functions, from the package, once the Nuitka may be not using one technology details. These are merely those checked and you will regarded as a great. Feedback try desired. Fundamentally, new architectures that Debian supporting is deemed an effective and you may tested also.