Skip to content

Commit

Permalink
Move nuitka options into codexctl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored May 25, 2024
1 parent b2c8e95 commit 49580cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions codexctl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# nuitka-project: --enable-plugin=pylint-warnings

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/lib/pyenv/versions/3.11.7/lib/python3.11/enum.py:1703: Will always raise exception: "TypeError(type() takes no keyword arguments)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/lib/pyenv/versions/3.11.7/lib/python3.11/enum.py:1708: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/lib/pyenv/versions/3.11.7/lib/python3.11/enum.py:1712: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/lib/pyenv/versions/3.11.7/lib/python3.11/enum.py:1714: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/lib/pyenv/versions/3.11.7/lib/python3.11/enum.py:1796: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/lib/pyenv/versions/3.11.7/lib/python3.11/enum.py:1797: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/lib/pyenv/versions/3.11.7/lib/python3.11/enum.py:1798: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'unittest' in 'google.protobuf.internal.wire_format_test' (at '/src/.venv/lib/python3.11/site-packages/google/protobuf/internal/wire_format_test.py:35') encountered. It may slow down compilation.

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for remarkable

Nuitka Warning

Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/enum.py:1718: Will always raise exception: "TypeError(type() takes no keyword arguments)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/enum.py:1723: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/enum.py:1727: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/enum.py:1729: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/enum.py:1811: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/enum.py:1812: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Unusual:WARNING: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/enum.py:1813: Will always raise exception: "UnboundLocalError(cannot access local variable 'enum_class' where it is not associated with a value)"

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'unittest' in 'google.protobuf.internal.wire_format_test' (at '/home/runner/work/codexctl/codexctl/.venv/lib/python3.11/site-packages/google/protobuf/internal/wire_format_test.py:35') encountered. It may slow down compilation.

Check warning on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for ubuntu-latest

Nuitka Warning

Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html

Check failure on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for windows-latest

Nuitka Error

FATAL: Error, failed to locate package 'google' you asked to include.

Check failure on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for windows-latest

Nuitka Error

make: *** [Makefile:62: executable] Error 1

Check failure on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for macos-latest

Nuitka Error

FATAL: Error, failed to locate package 'google' you asked to include.

Check failure on line 1 in codexctl.py

View workflow job for this annotation

GitHub Actions / Build for macos-latest

Nuitka Error

make: *** [executable] Error 1
# nuitka-project: --enable-plugin=upx
# nuitka-project: --warn-implicit-exceptions
# nuitka-project: --onefile
# nuitka-project: --lto=yes
# nuitka-project-if: {OS} in ("Linux"):
# nuitka-project: --include-package=google

from codexctl import main

if __name__ == "__main__":
Expand Down

0 comments on commit 49580cb

Please sign in to comment.