-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add hook for customtkinter #542
Conversation
Looks like In the frozen application, python modules are by default collected to executable-embedded PYZ archive, so package sub-directories that contain only python modules do not end up collected. This is why in this example, Therefore, this attempt at reading the file should normalize the path using |
Looks like the issue with relative paths has been resolved, so this should now pass tests on all OSes, and can be merged. Thanks @JakobDev! |
…3.6 (#62) Bumps [pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib) from 2023.3 to 2023.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases">pyinstaller-hooks-contrib's releases</a>.</em></p> <blockquote> <h2>2023.6</h2> <p>Please see the <a href="https://www.github.com/pyinstaller/pyinstaller-hooks-contrib/tree/master/CHANGELOG.rst">changelog</a> for more details</p> <h2>2023.5</h2> <p>Please see the <a href="https://www.github.com/pyinstaller/pyinstaller-hooks-contrib/tree/master/CHANGELOG.rst">changelog</a> for more details</p> <h2>2023.4</h2> <p>Please see the <a href="https://www.github.com/pyinstaller/pyinstaller-hooks-contrib/tree/master/CHANGELOG.rst">changelog</a> for more details</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst">pyinstaller-hooks-contrib's changelog</a>.</em></p> <blockquote> <h2>2023.6 (2023-07-20)</h2> <p>New hooks</p> <pre><code> * Add hook for ``ens`` package, required by ``web3`` v6.6.0 and later. (`[#617](pyinstaller/pyinstaller-hooks-contrib#617) <https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/617>`_) * Add hook for ``jsonschema_specifications`` to collect the data files that ``jsonschema`` v4.18.0 moved into a separate package. (`[#614](pyinstaller/pyinstaller-hooks-contrib#614) <https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/614>`_) <h2>2023.5 (2023-07-05)</h2> <p>New hooks </code></pre></p> <ul> <li>Add a hook for astropy-iers-data, which includes data. (<code>[#608](pyinstaller/pyinstaller-hooks-contrib#608) <https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/608></code>_)</li> <li>Add a hook for skyfield, which includes data. (<code>[#607](pyinstaller/pyinstaller-hooks-contrib#607) <https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/607></code>_)</li> </ul> <p>Updated hooks</p> <pre><code> * Update ``pydantic`` hook for compatibility with ``pydantic`` v2.0.0. (`[#611](pyinstaller/pyinstaller-hooks-contrib#611) <https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/611>`_) <h2>2023.4 (2023-06-27)</h2> <p>New hooks</p> <pre><code> * Add hook for ``customtkinter`` (`[#542](pyinstaller/pyinstaller-hooks-contrib#542) &lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/542&gt;`_) * Add hook for ``fastparquet``. (`[#583](pyinstaller/pyinstaller-hooks-contrib#583) &lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/583&gt;`_) * Add hook for ``librosa``. (`[#582](pyinstaller/pyinstaller-hooks-contrib#582) &lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/582&gt;`_) * Add hook for ``mistune`` that collects plugin modules, which are indirectly loaded starting with ``mistune`` v3.0.0. (`[#605](pyinstaller/pyinstaller-hooks-contrib#605) &lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/605&gt;`_) * Add hook for ``sympy`` that automatically raises recursion limit to 5000 if ``sympy`` &gt;= 1.12 is detected. (`[#587](pyinstaller/pyinstaller-hooks-contrib#587) &lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/587&gt;`_) &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="pyinstaller/pyinstaller-hooks-contrib@a98956b4c907004a6a50c2e3a7e0ae72ec60dcad"><code>a98956b</code></a> Release v2023.6</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@24eb5d9eb3a1d68ff97c31cd12ac77ee43ebb71e"><code>24eb5d9</code></a> hooks: add hook for ens package from web3 &gt;= 6.6.0</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@e3cf01365a7e312c8770a414c0a2647b8056eb24"><code>e3cf013</code></a> Scheduled weekly dependency update for week 29 (<a href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/616">#616</a>)</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@17783aceef53f941102b863fc349a83a9ee6a2ef"><code>17783ac</code></a> Scheduled weekly dependency update for week 28 (<a href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/615">#615</a>)</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@0f40dc6e74086e5472aee75070b9077b4c17ab18"><code>0f40dc6</code></a> hooks: add hook for jsonschema_specifications</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@1faa5484da96efa6b075dda225c68d9fae37b33b"><code>1faa548</code></a> Update CHANGELOG.rst</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@f6e8dbef3c7a1bd9fe4c5498eb8982b200a7e1d8"><code>f6e8dbe</code></a> Release 2023.5</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@7d6119dc61e71c42905ae4d452083ec8ccb8c328"><code>7d6119d</code></a> hooks: update pydantic hook for compatibility with pydantic v2.0.0</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@2b2cf5cafa0a67dfa27f78b1b26a2cf6ae96a4db"><code>2b2cf5c</code></a> Scheduled weekly dependency update for week 27 (<a href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/609">#609</a>)</li> <li><a href="pyinstaller/pyinstaller-hooks-contrib@d1c30e7c192beb47606413926b343a363b32fafd"><code>d1c30e7</code></a> Add hook for skyfield (<a href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/607">#607</a>)</li> <li>Additional commits viewable in <a href="pyinstaller/pyinstaller-hooks-contrib@2023.3...2023.6">compare view</a></li> </ul> </details> <br /> </code></pre> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyinstaller-hooks-contrib&package-manager=pip&previous-version=2023.3&new-version=2023.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This adds a hook for customtkinter