597 Commits

Author SHA1 Message Date
Kay Hayen de17414117 AI: Point it to CMD files on Windows for repo tools 2026-05-26 13:30:45 +02:00
Kay Hayen 4a0c35c4bd Quality: Added clangd checker script
* Include paths need to be absolute, as for clangd they are actually
  file relative otherwise.
2026-05-26 13:30:45 +02:00
Kay Hayen d375813f07 Quality: Move clangd template file to misc 2026-05-26 13:30:45 +02:00
Kay Hayen 798c22603d Visual Code: Also generate clangd config for the OS/python combination 2026-05-26 13:30:44 +02:00
Kay Hayen 3c747be77e Cleanup, pylint warnings fixed 2026-05-15 13:37:28 +02:00
Kay Hayen 7bcd580a6d Project: Correct a few mistakes done when changing the license
* Reference the runtime exception everywhere as that is expected
  to be done, not just generally.

* Proper link to the correct version of the license file on the
  web.
2026-05-15 13:27:38 +02:00
Kay Hayen 7b5a320477 Release: Make sure old .egg directory is deleted
* Otherwise it can cause builds to fail inside a CI which did not clean up

* Also rename "Debian" module to "DebianPackage" because pylint on Windows
  thinks the debian folder can be that instead. Probably better for clarity too.
2026-04-26 06:52:06 +02:00
Kay Hayen 46d581d7d3 Visual Code: Pick correct compiler for macOS, no gcc used there 2026-04-26 06:52:05 +02:00
Kay Hayen 71b6cfc2f9 UI: Added integration with bash and zsh autocompletion
* Added terminal profiles to automatically source them
  when using them in Visual Code.

* Integrate it into our Debian package as well.
2026-03-25 10:44:11 +01:00
Kay Hayen e797814405 Quality: Was checking yaml files twice
* Autoformat already does it, no need to do it twice.
2026-03-25 10:44:11 +01:00
Kay Hayen 2eee6cc6ec Optimization: Provide scripts for best compiling Python for Nuitka
* We now have it on Linux, Windows and MacOS.

* These are not yet perfect, but they are a good start, and we can
  improve them over time.

* Move them to bin, given them help and more features to make them
  useable in container files at least.
2026-03-25 10:44:11 +01:00
Kay Hayen 5980d6894d Quality: Work with ".git" as a file as well for installing commit hooks 2026-03-18 17:28:59 +01:00
Kay Hayen e170569125 Minor cleanups 2026-03-18 17:28:59 +01:00
Kay Hayen d148f58b73 Minor cleanups 2026-03-18 17:28:59 +01:00
Kay Hayen c6aa866f77 Quality: Add pre-push hook as well 2026-03-18 17:28:59 +01:00
Kay Hayen 35773d20f2 Debian: Make building pbuilder images succeed on other OSes 2026-03-18 17:28:58 +01:00
Kay Hayen 3bc6d24068 Bump copyright year. 2026-03-18 17:28:58 +01:00
Kay Hayen ff14fe2dde Quality: Updated to latest version of black and faster isort
* We were checking the version for private pip space packages
  over and over, which was wasteful, and probably also slowed
  down other things.

* Cache the result of "isort" calls such that on repeated
  execution of autoformat, this relatively slow call is not
  redone unnecessarily.

* Black changed mostly formatting of tripple quoted strings.

* Also noticed that shebang didn't do 3.14 yet.

* A few minor changes to increase readability of formatted string
  interpolations.
2026-03-18 17:23:26 +01:00
Kay Hayen 95fdf95501 Python3.14: Avoid "zstandard" dependency
* Also when checking for installed Pythons that can compress, consider "compression.zstd" as an alternative
2026-03-03 14:13:35 +01:00
Kay Hayen 0688bc9011 Windows: Added script for reference to compile CPython best for Nuitka
* Also added options for debug builds, so we can have a quick
  uninstalled self compiled Python for debugging.
2026-03-03 14:13:35 +01:00
Kay Hayen 90447e0fe7 Project: Changed license to AGPLv3 for remaining files 2026-01-31 11:31:41 +01:00
Kay Hayen e28181fd0c Fix, need to install nuitka package config schema
* Otherwise we cannot validate modified files or unchecked user config files.
2026-01-31 11:31:41 +01:00
Kay Hayen 16dc691c3e macOS: Added script for reference how to compile CPython best for Nuitka. 2026-01-28 13:47:30 +01:00
Kay Hayen b4e135ce68 Cleanup, prefer "os.getenv" over "os.environ.get" 2026-01-28 13:47:29 +01:00
Kay Hayen e16ada41bf Visual Code: Add a shebang to make the script manually executable naively 2026-01-28 13:46:27 +01:00
Kay Hayen 82f70c3efb Plugins: Enhance schema somewhat
* Added more specifics for more values and use references to
  annotate python expressions and non-empty values.

* This is aimed at better guidance during creating new values
  in IDEs.
2026-01-28 13:44:29 +01:00
Kay Hayen 0ac329ec01 Scons: Changed error message for using MinGW64 on newer Python to also mention Zig
* Also enhanced reporting error exit reporting through the scons logger to provide
  the exception in the compilation report.

* More error exits in scons should do this.
2026-01-28 13:44:29 +01:00
Kay Hayen 7ddc84ba11 Visual Code: Generate C extension configuration at startup with task
* Rather than trying to find a configuration that works not everywhere, create the config automatically
2026-01-28 13:37:48 +01:00
Kay Hayen 25d9589c92 Project: Changed license to AGPLv3
* This is with an exception for the runtime library parts
  to allow proprietary compiled code to link against it.

* But it makes creating competitors to Nuitka commercial
  impossible, as they would need to open source their code.
2026-01-28 13:27:34 +01:00
Kay Hayen 46527eb455 Cleanup, attach copyright during code generation for specialiations
* This also enhances the formatting for almost all files by making
  leading and trailing new lines more consistent.

* One C file turns out unused, was probably a left over.
2025-10-10 17:05:56 +02:00
Kay Hayen 642fcec025 Plugins: Added support for configuring recompilation of extension modules
* When we have both Python code and an extension module, we only had a global option available.

* This adds --recompile-extension-modules for more fine grained choices.

* Existing unworthy namespaces were migrated to not do it by default.

* For "zmq" we need to enforce it to never be compiled, as it checks if it is compiled with Cython at runtime.
2025-10-10 17:05:56 +02:00
Kay Hayen 8f35fb4d73 Minor spelling cleanups 2025-10-10 17:05:56 +02:00
Kay Hayen 7bb1f3b1f8 Quality: Added autoformat for JSON files
* We got a few in our project and they were not
  formatted yet, and biome handles comments properly.

* Deciding to use no tabs, some of our files had it
  mixed space/tab indentations which is probably a
  very bad idea.
2025-10-10 17:05:56 +02:00
Kay Hayen cf88d95fdc Deployment: Catch modules that error exit on import, while assumed to work perfectly
* This will give people an indication that the "numpy" module is expected to work, and that maybe just the newest version is not.
2025-10-10 17:05:16 +02:00
Kay Hayen 27da264aca macOS: Add ability to unlock keyring files with password
* This makes code signing directly possible.
2025-10-10 16:56:32 +02:00
Kay Hayen 7aa498a16a Anti-Bloat: Avoid using "unittest" in "reportlab" package
* This adds a new feature of "global_change_function" to the
  anti-bloat engine, to address all "test" functions in all
  sub-modules at once.
2025-10-10 16:56:05 +02:00
Kay Hayen 914ea9d7de Release: Make sure to use compatible setuptools version with "osc" uploads 2025-10-10 16:54:42 +02:00
Kay Hayen 3987dd490b Standalone: Resolve implicit dependency of numba at compile time 2025-04-28 11:04:39 +02:00
Kay Hayen 718ab60539 Bump copyright year 2025-04-28 11:04:36 +02:00
Kay Hayen 72d56f4d38 Merge tag '2.5.8' into develop 2025-04-28 11:04:12 +02:00
Kay Hayen 8d2cd15cdb Plugins: Variable sections can also have conditions 2025-04-28 11:01:58 +02:00
Kay Hayen 9236e115af Merge tag '2.5.6' into develop 2024-12-22 10:27:09 +01:00
Kay Hayen 2c0cfb4e92 Merge tag '2.5.5' into develop 2024-12-18 11:40:36 +01:00
Kay Hayen 1df0dad752 Release: Preparation of new setuptools compliance
* Enforce older setuptools now to retain the archive
  names as they have been so far.

* Build the sdist in a virtualenv instead of fixing
  them up later.

* The sdists archives uploaded for download didn't
  have files deleted for poetry workarounds, delete
  it from those too.

* More explicit filename usages when uploading and
  working with archives.
2024-12-18 11:38:11 +01:00
Kay Hayen 30753f837b Plugins: Added ability to specify DLLs from paths
* For use with variables and setup code, this should
  allow to remove "by_code" and be more flexible still,
  with "from_sources" files can be renamed too.
2024-12-18 11:37:45 +01:00
Kay Hayen 2596bea464 Minor spelling cleanups 2024-12-18 11:37:44 +01:00
Kay Hayen 493e011f41 Release: Fix, the renaming workaround wasn't working 2024-12-18 11:37:44 +01:00
Kay Hayen b4fece95bd Release: Avoid using 3.12 setuptools, it breaks sdist names 2024-12-18 11:08:33 +01:00
Kay Hayen 97fbc6996a Plugins: Change data files configuration over to list of items as well
* This will make it easier to have multiple of them which can be necessary for OS differences
2024-12-18 11:08:33 +01:00
Kay Hayen 82a5bdd182 Standalone: Added support for Django settings files
* New module parameter to specify settings
  module name.

* Now module name patterns can be coming from
  expressions for depends values.

* For variables section added support for providing
  environment variables, used to pass django settings
  module name.

* Error out on variables sections without declarations.
2024-12-18 11:08:31 +01:00