v2.0
Steve Nyemba 5 months ago
parent 3d8ed0b57a
commit 6ed700a51e

@ -325,6 +325,11 @@ def create(folder:Annotated[str,typer.Argument(help="path of the project folder"
f.write(json.dumps(_config)) f.write(json.dumps(_config))
f.close() f.close()
return _config return _config
@cli.command (name='reload')
def reload (path) :
if os.path.exists (path):
pass
@cli.command(name="bootup") @cli.command(name="bootup")
def bootup (path:Annotated[str,typer.Argument(help="path of the manifest file")]='qcms-manifest.json'): def bootup (path:Annotated[str,typer.Argument(help="path of the manifest file")]='qcms-manifest.json'):
""" """

@ -8,7 +8,7 @@ import importlib
import importlib.util import importlib.util
# from cms import disk, cloud, engine # from cms import disk, cloud, engine
# import cloud # import cloud
import index # import index
# class components : # class components :
# # @staticmethod # # @staticmethod
# # def folders (_path): # # def folders (_path):

@ -9,12 +9,14 @@ args = {
"license":meta.__license__, "license":meta.__license__,
# "packages":["transport","info","transport/sql"]}, # "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["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["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['classifiers'] = ['Topic :: utilities', 'License :: MIT']
args['include_package_data'] = True 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["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"
args['scripts'] = ['bin/qcms'] args['scripts'] = ['bin/qcms']
# if sys.version_info[0] == 2 : # if sys.version_info[0] == 2 :

Loading…
Cancel
Save