K
K
KitCat122021-08-31 11:10:24
Python
KitCat12, 2021-08-31 11:10:24

Nuitka. How to properly set the flags?

There is such a project
612de2a4095be457767514.png

How to correctly set the flags so that all files from the directory are added to the project modulesand that files config.jsonand variants.txtcan be changed? This project needs to be used on another PC where there is no Python and so on.

Tried

nuitka --standalone --include-package-data=modules --include-data-dir=database=database --include-data-dir=variants=variants --include-data-file=config.json=config.json start.py
and other commands, but did not help. Or it runs on my PC but requires Python, etc. on the other, or does not start at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WolfInChains, 2021-08-31
@KitCat12

The command itself is correct. Are you using third party libraries? If yes, then add them via--include-package=название библиотеки

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question