diff --git a/bin/qcms b/bin/qcms index 74042ec..244a5e1 100755 --- a/bin/qcms +++ b/bin/qcms @@ -325,6 +325,11 @@ def create(folder:Annotated[str,typer.Argument(help="path of the project folder" f.write(json.dumps(_config)) f.close() return _config + +@cli.command (name='reload') +def reload (path) : + if os.path.exists (path): + pass @cli.command(name="bootup") def bootup (path:Annotated[str,typer.Argument(help="path of the manifest file")]='qcms-manifest.json'): """ diff --git a/cms/__init__.py b/cms/__init__.py index 6b503fb..3f98a0b 100644 --- a/cms/__init__.py +++ b/cms/__init__.py @@ -8,7 +8,7 @@ import importlib import importlib.util # from cms import disk, cloud, engine # import cloud -import index +# import index # class components : # # @staticmethod # # def folders (_path): diff --git a/setup.py b/setup.py index 0fc8f83..74df723 100644 --- a/setup.py +++ b/setup.py @@ -9,12 +9,14 @@ args = { "license":meta.__license__, # "packages":["transport","info","transport/sql"]}, - "packages": find_packages(include=['meta','cms', 'cms.*','cms.index'])} + "packages": find_packages(include=['meta','cms', 'cms.*','.'])} args["keywords"]=['cms','www','https','flask','data-transport'] args["install_requires"] = ['flask','gitpython','termcolor','flask-session','mistune','typer','data-transport@git+https://github.com/lnyemba/data-transport.git'] args['classifiers'] = ['Topic :: utilities', 'License :: MIT'] args['include_package_data'] = True - +# args['data_files'] = { +# ('','index.py'),} +args['zip_safe'] = False args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git" args['scripts'] = ['bin/qcms'] # if sys.version_info[0] == 2 :