If you’d like to have the ability to backup it to another machine, play with –stand alone and content the new created program

If you’d like to have the ability to backup it to another machine, play with –stand alone and content the new created program

Improve issues for many who come upon one thing during these

The option –follow-imports or any other variants be as effective as, but the included modules will become importable once you imported the latest specific_component term.

This new ensuing extension component can just only end up being stacked for the good CPython of the identical variation and you may will not tend to want motorcycle dating app be other expansion modules.

New introduction of your own plan articles must be offered by hand, or even, the container try empty. You will be more particular if you prefer, and only are element of it. Data files discovered from inside the plan won’t be inserted of the this step, you will want to backup him or her your self with this particular approach.

Getting shipment some other possibilities, you have the stand alone form and therefore supplies an excellent folder for which you can indicate –standalone .

Pursue every imports is actually default in this form. You could potentially precisely ban segments by the especially claiming –nofollow-import-so you can , then again an ImportError could well be raised whenever import of it are experimented with at program runtime.

For data to be included, make use of the option –include-data-files= = where the supply is a file program path, but target has to be specified relative. Having stand alone it is possible to copy him or her yourself, but this can carry out additional monitors, and also for onefile function, there’s no guide duplicating you’ll be able to.

To reproduce particular otherwise most of the document in a catalog, utilize the solution –include-data-files=/etc/*.txt=etc/ the place you reach identify cover habits to your records, and you will a beneficial subdirectory the best places to put them, conveyed because of the at the rear of cut.

To duplicate a complete folder with all of files, you should use –include-data-dir=/path/to/images=images that duplicate all documents as well as a prospective subdirectory design. You cannot filter out right here, i.elizabeth. if you would like just a limited copy, get rid of the documents ahead of time.

If you would like attain an entire bundle and you will implant all segments, that is in addition to possible, explore Nuitka like this:

To possess package data, there was a better way, playing with –include-package-analysis and this detects documents regarding packages immediately and you can duplicates her or him more than. It even welcomes designs for the shell build.

That have data files, you’re mainly yourself. Nuitka tracks of them you need because of the prominent bundles, but it would be incomplete.

This can perform just one binary, and that into Linux doesn’t also unpack alone, but rather cycle right back mount its content material once the an excellent filesystem and you will have fun with you to definitely.

There are many more platform certain possibilities, e.g. associated with signs, splash display screen, and you can variation advice, check out the –assist yields towards the specifics of these and check the latest area “Visual appearance”.

Again, with the Window, towards the brief file list, automatically an individual a person is put, however it is overridden with a route specs considering from inside the –windows-onefile-tempdir-spec=%TEMP%\\onefile_%PID%_%TIME% which is the standard and you will claims your short term lists authored usually do not collide.

It’s for you to decide to make the road offered novel, into the Windows a running system will be secured, and while playing with a predetermined folder name’s you can, it can cause locking circumstances in this case, the spot where the system becomes put aside.

Always you can utilize %TIME% or perhaps %PID% while making a course book, and this is generally designed for have fun with times, where elizabeth.g. you prefer what to are now living in a location you choose otherwise abide your own naming conventions.

When you have an excellent , setup.cfg otherwise pyproject.toml determined creation of wheels for the application set up, placing Nuitka to make use of is quite simple.

Lets start by the best setuptools means, you might – with Nuitka strung without a doubt, simply perform the prospective bdist_nuitka as opposed to the bdist_wheel . It will require all of the choice and you can allows you to specify some so much more, which can be particular so you can Nuitka.

Leave a Reply