From 7c77768697cb7f6b9942b1cccbce9f8508a64904 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 26 Nov 2021 08:01:45 +0100 Subject: [PATCH] Build projects --- cpl-workspace.json | 2 +- src/cpl_extension/__init__.py | 6 +++--- .../{cpl_extension.json => cpl-extension.json} | 2 +- src/gismo/gismo.json | 3 ++- src/gismo_cli/gismo-cli.json | 2 +- src/gismo_core/__init__.py | 4 ++-- src/gismo_core/abc/__init__.py | 4 ++-- src/gismo_core/configuration/__init__.py | 4 ++-- src/gismo_core/gismo-core.json | 6 +++--- src/gismo_core/service/__init__.py | 4 ++-- src/gismo_db/__init__.py | 4 ++-- src/gismo_db/gismo-db.json | 6 +++--- src/modules/boot_log/boot-log.json | 6 +++--- src/modules_core/__init__.py | 4 ++-- src/modules_core/abc/__init__.py | 4 ++-- src/modules_core/modules-core.json | 6 +++--- src/modules_core/service/__init__.py | 4 ++-- 17 files changed, 36 insertions(+), 35 deletions(-) rename src/cpl_extension/{cpl_extension.json => cpl-extension.json} (97%) diff --git a/cpl-workspace.json b/cpl-workspace.json index 040e04e..5bdba0a 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -13,7 +13,7 @@ "ontime-calculator": "tools/ontime_calculator/ontime-calculator.json" }, "Scripts": { - "build-all": "cd src/gismo; echo \"gismo:\"; cpl build; cd ../gismo_cli; echo \"gismo-cli:\"; cpl build; cd ../gismo_core; echo \"gismo-core:\"; cpl build; cd ../gismo_db; echo \"gismo-db:\"; cpl build; cd ../cpl_extension; echo \"cpl_extension:\"; cpl build; cd ../modules_core; echo \"modules-core:\"; cpl build;", + "pre-build": "cd ../gismo_cli; echo 'gismo-cli:'; cpl build; echo 'gismo:'", "pre-start": "echo '!WARNING! You should start with the right environment!\nRun cpl start-ENV\nSee workspace for more details.'; sleep 2", "pre-dev-start": "echo 'development:'; ", "dev-start": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start", diff --git a/src/cpl_extension/__init__.py b/src/cpl_extension/__init__.py index 8200b1a..8fe1072 100644 --- a/src/cpl_extension/__init__.py +++ b/src/cpl_extension/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -cpl-extension sh-edraft Gismo - cpl extension - database core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - database implementation of cpl.database +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. @@ -19,7 +19,7 @@ __version__ = '0.1.0' from collections import namedtuple -# imports: +# imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') version_info = VersionInfo(major='0', minor='1', micro='0') diff --git a/src/cpl_extension/cpl_extension.json b/src/cpl_extension/cpl-extension.json similarity index 97% rename from src/cpl_extension/cpl_extension.json rename to src/cpl_extension/cpl-extension.json index 91e86bb..b6d271b 100644 --- a/src/cpl_extension/cpl_extension.json +++ b/src/cpl_extension/cpl-extension.json @@ -17,7 +17,7 @@ "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "sh_cpl-core>=2021.10.2", - "sh_cpl-query>=2021.10.2" + "sh_cpl-query>=2021.10.3" ], "PythonVersion": ">=3.9.2", "PythonPath": { diff --git a/src/gismo/gismo.json b/src/gismo/gismo.json index b8a447a..f47bca8 100644 --- a/src/gismo/gismo.json +++ b/src/gismo/gismo.json @@ -17,7 +17,7 @@ "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "sh_cpl-core>=2021.10.2", - "sh_cpl-query>=2021.10.2", + "sh_cpl-query>=2021.10.3", "discord.py==1.7.3" ], "PythonVersion": ">=3.9.2", @@ -47,6 +47,7 @@ "ProjectReferences": [ "../gismo_core/gismo-core.json", "../gismo_db/gismo-db.json", + "../cpl_extension/cpl-extension.json", "../modules_core/modules-core.json", "../modules/boot_log/boot-log.json" ] diff --git a/src/gismo_cli/gismo-cli.json b/src/gismo_cli/gismo-cli.json index eebe3c2..e34e102 100644 --- a/src/gismo_cli/gismo-cli.json +++ b/src/gismo_cli/gismo-cli.json @@ -17,7 +17,7 @@ "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "sh_cpl-core>=2021.10.2", - "sh_cpl-query>=2021.10.2" + "sh_cpl-query>=2021.10.3" ], "PythonVersion": ">=3.9.2", "PythonPath": { diff --git a/src/gismo_core/__init__.py b/src/gismo_core/__init__.py index 4ee4e9e..2dcbf1d 100644 --- a/src/gismo_core/__init__.py +++ b/src/gismo_core/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -gismo-core sh-edraft Gismo - core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - core library +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. diff --git a/src/gismo_core/abc/__init__.py b/src/gismo_core/abc/__init__.py index 58b8479..79226e4 100644 --- a/src/gismo_core/abc/__init__.py +++ b/src/gismo_core/abc/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -gismo-core sh-edraft Gismo - core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - core library +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. diff --git a/src/gismo_core/configuration/__init__.py b/src/gismo_core/configuration/__init__.py index 3ae8faa..a5a1baa 100644 --- a/src/gismo_core/configuration/__init__.py +++ b/src/gismo_core/configuration/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -gismo-core sh-edraft Gismo - core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - core library +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. diff --git a/src/gismo_core/gismo-core.json b/src/gismo_core/gismo-core.json index 368ba0a..0de1eff 100644 --- a/src/gismo_core/gismo-core.json +++ b/src/gismo_core/gismo-core.json @@ -17,7 +17,7 @@ "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "sh_cpl-core>=2021.10.2", - "sh_cpl-query>=2021.10.2" + "sh_cpl-query>=2021.10.3" ], "PythonVersion": ">=3.9.2", "PythonPath": { @@ -29,8 +29,8 @@ "ProjectType": "library", "SourcePath": "", "OutputPath": "../../dist", - "Main": "gismo_core.main", - "EntryPoint": "gismo-core", + "Main": "", + "EntryPoint": "", "IncludePackageData": false, "Included": [], "Excluded": [ diff --git a/src/gismo_core/service/__init__.py b/src/gismo_core/service/__init__.py index 2eae97b..1947127 100644 --- a/src/gismo_core/service/__init__.py +++ b/src/gismo_core/service/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -gismo-core sh-edraft Gismo - core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - core library +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. diff --git a/src/gismo_db/__init__.py b/src/gismo_db/__init__.py index d9d752f..4265bbc 100644 --- a/src/gismo_db/__init__.py +++ b/src/gismo_db/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -gismo-db sh-edraft Gismo - Database +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - Database +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. diff --git a/src/gismo_db/gismo-db.json b/src/gismo_db/gismo-db.json index c546daa..0d25b92 100644 --- a/src/gismo_db/gismo-db.json +++ b/src/gismo_db/gismo-db.json @@ -17,7 +17,7 @@ "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "sh_cpl-core>=2021.10.2", - "sh_cpl-query>=2021.10.2" + "sh_cpl-query>=2021.10.3" ], "PythonVersion": ">=3.9.2", "PythonPath": { @@ -29,8 +29,8 @@ "ProjectType": "library", "SourcePath": "", "OutputPath": "../../dist", - "Main": "gismo_db.main", - "EntryPoint": "gismo_db", + "Main": "", + "EntryPoint": "", "IncludePackageData": false, "Included": [], "Excluded": [ diff --git a/src/modules/boot_log/boot-log.json b/src/modules/boot_log/boot-log.json index cd426b1..f4413c8 100644 --- a/src/modules/boot_log/boot-log.json +++ b/src/modules/boot_log/boot-log.json @@ -17,7 +17,7 @@ "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "sh_cpl-core>=2021.10.2", - "sh_cpl-query>=2021.10.2" + "sh_cpl-query>=2021.10.3" ], "PythonVersion": ">=3.9.2", "PythonPath": { @@ -29,8 +29,8 @@ "ProjectType": "library", "SourcePath": "", "OutputPath": "../../../dist", - "Main": "modules/_boot_log.main", - "EntryPoint": "modules/boot-log", + "Main": "", + "EntryPoint": "", "IncludePackageData": false, "Included": [], "Excluded": [ diff --git a/src/modules_core/__init__.py b/src/modules_core/__init__.py index 9086fbb..979887f 100644 --- a/src/modules_core/__init__.py +++ b/src/modules_core/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -modules-core sh-edraft Gismo - Modules core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - Modules core +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. diff --git a/src/modules_core/abc/__init__.py b/src/modules_core/abc/__init__.py index c345cc5..a65a733 100644 --- a/src/modules_core/abc/__init__.py +++ b/src/modules_core/abc/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -modules-core sh-edraft Gismo - Modules core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - Modules core +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. diff --git a/src/modules_core/modules-core.json b/src/modules_core/modules-core.json index b1e991d..74f6095 100644 --- a/src/modules_core/modules-core.json +++ b/src/modules_core/modules-core.json @@ -17,7 +17,7 @@ "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "sh_cpl-core>=2021.10.2", - "sh_cpl-query>=2021.10.2" + "sh_cpl-query>=2021.10.3" ], "PythonVersion": ">=3.9.2", "PythonPath": { @@ -29,8 +29,8 @@ "ProjectType": "library", "SourcePath": "", "OutputPath": "../../dist", - "Main": "modules_core.main", - "EntryPoint": "modules-core", + "Main": "", + "EntryPoint": "", "IncludePackageData": false, "Included": [], "Excluded": [ diff --git a/src/modules_core/service/__init__.py b/src/modules_core/service/__init__.py index 6d10b94..3f494a0 100644 --- a/src/modules_core/service/__init__.py +++ b/src/modules_core/service/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -modules-core sh-edraft Gismo - Modules core +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - Modules core +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details.