From b1b8061ae3f4b37106dff30e755cd2943451c07d Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 24 Jul 2025 02:46:59 +0000 Subject: [PATCH 1/2] Windows qcms script --- bin/qcms.bat | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bin/qcms.bat diff --git a/bin/qcms.bat b/bin/qcms.bat new file mode 100644 index 0000000..d3c4114 --- /dev/null +++ b/bin/qcms.bat @@ -0,0 +1,3 @@ +REM python .\qcms-sandbox\Scripts\qcms %1 %2 %3 %4 %5 %6 +cd /D "%~dp0" +python qcms %1 %2 %3 %4 %5 %6 \ No newline at end of file From ae0c6e596a870942ec81e666a67504edcff99a92 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Thu, 24 Jul 2025 08:25:12 -0500 Subject: [PATCH 2/2] installation packages added and windows runner --- cms/engine/project/__init__.py | 18 +++++++++--------- pyproject.toml | 3 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/cms/engine/project/__init__.py b/cms/engine/project/__init__.py index 47c9a21..210cd35 100644 --- a/cms/engine/project/__init__.py +++ b/cms/engine/project/__init__.py @@ -55,17 +55,17 @@ def _icode(_path,_root): :path location of the project """ _code = """ - import cms - # - # register this in config.plugins: {"demo":["info"]} +import cms +# +# register this in config.plugins: {"demo":["info"]} - @cms.plugins(mimetype='application/json') : - def info (**_args): - _request= _args['request'] - _config = _args['config'] - return {"version":_config['system']['version'],'title':_config['layout']['header']['title']} - pass +@cms.plugins(mimetype='application/json') : +def info (**_args): + _request= _args['request'] + _config = _args['config'] + return {"version":_config['system']['version'],'title':_config['layout']['header']['title']} + pass """ loc = os.sep.join([_path,_root,'_plugins','demo.py']) f = open(loc,'w') diff --git a/pyproject.toml b/pyproject.toml index 6e9b19c..e7561f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,8 @@ dependencies = [ "gitpython", "termcolor", "flask-session", - "mistune", + "mistune","git+https://github.com/lnyemba/plugins-ix", + "numpy","pandas", "typer","smart-open", "pyncclient" ] [project.optional-dependencies]