Boost situations if you come across things throughout these
The option –follow-imports and other variants work as well, nevertheless the included modules will feel importable after you brought in the fresh some_module name.
New ensuing expansion component can only be piled on a great CPython of the same version and doesn’t become most other extension modules.
The fresh addition of your own bundle material must be given by hand, if you don’t, the package was blank. You will end up a great deal more specific if you want, and just tend to be section of it. Files located during the bundle may not be stuck of the this course of action, you need to copy them oneself with this particular method.
To have shipping for other possibilities, you’ve got the standalone means hence provides good folder wherein you might specify –standalone .
Pursue every imports are default within this form. You might selectively ban modules by especially claiming –nofollow-import-so you’re able to , then again an ImportError could be elevated whenever transfer of it are tried on system runtime.
Having documents getting provided, utilize the solution –include-data-files= = where the provider is a file system path, however, address has to be specified relative. To possess standalone it’s also possible to content him or her by hand, however, this may do a lot more monitors, as well as for onefile function, there’s no guidelines duplicating you can.
To copy particular otherwise every file inside the a collection, use the solution –include-data-files=/etc/*.txt=etc/ the place you arrive at indicate shell habits towards data, and an excellent subdirectory the best place to put them, conveyed by trailing slashed.
To reproduce a complete folder with data, you are able to –include-data-dir=/path/to/images=images that can backup all documents and additionally a potential subdirectory build. You can not filter out here, i.age. if you would like merely a limited copy, get rid of the data files ahead.
If you need to amass a whole plan and you may embed every modules, that’s as well as possible, use Nuitka such as this:
To possess package investigation, there was an easier way, using –include-package-data and this detects data from packages instantly and copies him or her more. It also welcomes habits when you look at the cover style.
Which have records, you are mainly your self. Nuitka tracks ones required by common bundles, nonetheless it might possibly be incomplete.
This can perform one digital, hence into Linux does not also unpack in itself, but instead cycle right back install their content material given that a good filesystem and you will explore one.
There are other system certain solutions, age.grams. connected with signs, splash display, and you will variation suggestions, consider the –let returns towards information on such and check brand new area “Visual appearance”.
Once more, on Window, with the short-term file index, automagically the user a person is put, however this really is overridden having a route specs considering inside –windows-onefile-tempdir-spec=%TEMP%\\onefile_%PID%_%TIME% which is the default and you will claims that temporary listing written you should never collide.
It is your responsibility to make the road offered book, into the Window a running system might possibly be secured, even though having fun with a fixed folder name is you’ll, it may cause locking products in this case, where the program gets restarted.
Constantly you can use %TIME% or at least %PID% and come up with a route unique, and this is mainly intended for fool around with times, where elizabeth.g. you would like what you should live-in an area you choose or abide their naming events.
When you have good , setup.cfg otherwise pyproject.toml driven creation of tires to suit your software set up, getting Nuitka to make use of is extremely simple.
Lets begin by the preferred setuptools method, you could – parship which have Nuitka installed naturally, merely play the target bdist_nuitka rather than the bdist_wheel . It will require every choice and you may allows you to establish certain a great deal more, that are certain to help you Nuitka.