Embed stubsgen.py and automatically generate stubs into user folder

* We create both a stubs folder for each specific version, and a 'latest' that
  is updated by newer RD versions.
* For development, the stubs will be regenerated any time the git commit hash
  changes for development builds.
This commit is contained in:
baldurk
2026-08-13 17:46:39 +01:00
parent 9223971536
commit 26a84363b8
4 changed files with 196 additions and 4 deletions
@@ -65,6 +65,8 @@ public:
rdcarray<rdcpair<rdcstr, PyObject *>> &args);
static void FreePyArgs(rdcarray<rdcpair<rdcstr, PyObject *>> &args);
static void GenerateStubs(const rdcarray<rdcstr> &extraPaths);
bool CheckInterfaces(rdcstr &log);
QString versionString();