-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
Plotly needs to be explicitly included with --include-package when using dash #2971
Comments
Ivorforce
added a commit
to Ivorforce/Dash-Standalone-Boilerplate
that referenced
this issue
Jul 2, 2024
…st be kept explicit for now (Nuitka/Nuitka#2971).
Merged
As of rev 75e24f6, which includes the merges from #2972, an explicit
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've recently created the Dash / Nuitka Standalone Boilerplate. The example contains many explicit
--include-package
arguments, so I tested without them. Most can be removed, but one (plotly
) seems to be required right now:To reproduce, clone and set up the repository, and run:
poetry run python -m nuitka --output-dir=build --onefile --macos-create-app-bundle --include-package-data=dash --include-package-data=dash_core_components --include-package-data=dash_html_components --include-package-data=packaging --include-package-data=plotly --include-package-data=dnb src/dnb/main.py
A working version of the command looks like this:
poetry run python -m nuitka --output-dir=build --onefile --macos-create-app-bundle --include-package-data=dash --include-package-data=dash_core_components --include-package-data=dash_html_components --include-package-data=packaging --include-package=plotly --include-package-data=plotly --include-package-data=dnb src/dnb/main.py
Versions
The text was updated successfully, but these errors were encountered: