27/09/2022
Raise things for people who come upon anything during these
The choice –follow-imports or other alternatives be as effective as, but the provided segments is only going to become importable once you brought in the fresh new particular_component name.
The fresh new resulting extension module could only getting piled towards an excellent CPython of the same type and you will does not is most other extension modules.
The latest introduction of one’s package contents must be given manually, if not, the box are blank. You’ll be significantly more specific if you need, and only tend to be section of they. Documents found for the bundle may not be inserted by this course of action, you need to content them yourself using this strategy.
Getting shipment with other expertise, there is the stand alone mode and therefore supplies a folder wherein you can identify –stand alone .
Go after most of the imports was default within this form. You could potentially selectively ban segments from the specifically stating –nofollow-import-in order to , but then a keen ImportError is raised whenever import from it are tried from the program runtime.
Having documents are provided, use the solution –include-data-files= = the spot where the provider is actually a document system roadway, but target must be given cousin. To possess stand alone you could duplicate them by hand, but this will do additional inspections, as well as onefile setting, there’s absolutely no tips guide duplicating it is possible to.
To duplicate certain otherwise every file into the an inventory, use the option –include-data-files=/etc/*.txt=etc/ where you can indicate cover models toward files, and you will a great subdirectory the best place to put them, indicated by the trailing cut.
To duplicate a complete folder along with records, you need to use –include-data-dir=/path/to/images=images that content all of the files together with a prospective subdirectory build. You simply can’t filter out right here, i.e. if you need merely a limited content, remove the data files beforehand.
If you want to attain a complete bundle and you may embed the segments, which is together with feasible, play with Nuitka along these lines:
Getting bundle investigation, there was a better way, using –include-package-data and that detects records out of bundles instantly and you can duplicates him or her more than. It even welcomes activities in the cover concept.
That have data, you are mainly your self. Nuitka keeps track of of them that are needed of the preferred bundles, but it will be incomplete.
This can would a single digital, and therefore for the Linux does not actually unpack alone, but alternatively loop back install their material since the a great filesystem and play with one to.
There are more program specific choices, age.g. associated with icons, splash screen, and you will version pointers, think about eco datovГЎnГ the –let output with the specifics of such and check new part “Appearance”.
Once more, toward Screen, for the brief document index, automatically an individual you’re used, however this is overridden which have a road requirements considering during the –windows-onefile-tempdir-spec=%TEMP%\\onefile_%PID%_%TIME% the standard and you will asserts your short-term lists authored do not collide.
It’s your responsibility to make the highway provided unique, towards Windows a running program could well be secured, although having fun with a fixed folder name is you’ll, it may cause securing circumstances in that case, where the system gets restarted.
Constantly you can use %TIME% or at least %PID% and work out a course book, and this refers to mainly intended for use instances, where age.grams. you desire what things to reside in an area you choose or abide your naming exhibitions.
If you have good , settings.cfg or pyproject.toml inspired creation of wheels to suit your app in position, putting Nuitka to utilize is quite effortless.
Lets begin by the best setuptools approach, you could – which have Nuitka installed obviously, simply play the goal bdist_nuitka instead of the bdist_wheel . It takes all selection and allows you to establish particular significantly more, which can be particular so you’re able to Nuitka.