Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package compilation #66

Open
Jzhenli opened this issue Nov 25, 2024 · 2 comments
Open

Package compilation #66

Jzhenli opened this issue Nov 25, 2024 · 2 comments
Assignees

Comments

@Jzhenli
Copy link

Jzhenli commented Nov 25, 2024

How to use Nuitka-Action to compile a whole package folder to *.pyd, would u give a simple example? Thanks. @kayhayen

@kayhayen
Copy link
Member

Isn't there one in the docs already?

@kayhayen kayhayen self-assigned this Nov 25, 2024
@kayhayen
Copy link
Member

I updated Nuitka-Action to use the new app mode, but indeed you are right, there is no mode for that. You need to use mode: module and make sure to all --include or --follow options for your package name as necessary.

https://nuitka.net/user-documentation/use-cases.html#use-case-3-package-compilation

These options need to be applied, but I was going to add package as a value eventually, which essentially is going to mean that the --include-package=some_package or include-package: some_package in the action, would not be necessary, but I am only transitioning to this in the very moment. Adding examples is a TODO for Nuitka-Action I think.

I also updated the docs with a push, but module has no example there, nor package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants