diff --git a/cpl-workspace.json b/cpl-workspace.json index c813310..4c07f53 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -5,9 +5,10 @@ "gismo": "src/gismo/gismo.json", "gismo-cli": "src/gismo_cli/gismo-cli.json", "gismo-core": "src/gismo_core/gismo-core.json", - "boot-log": "src/modules/boot_log/boot-log.json", - "gismo_db": "src/gismo_db/gismo_db.json", + "gismo-db": "src/gismo_db/gismo_db.json", "database": "src/database/database.json", + "modules-core": "src/modules_core/modules-core.json", + "boot-log": "src/modules/boot_log/boot-log.json", "level-generator": "tools/level_generator/level-generator.json", "ontime-calculator": "tools/ontime_calculator/ontime-calculator.json" }, diff --git a/src/gismo/__init__.py b/src/gismo/__init__.py index ad5eca3..0242bb0 100644 --- a/src/gismo/__init__.py +++ b/src/gismo/__init__.py @@ -1 +1,25 @@ +# -*- coding: utf-8 -*- + +""" +gismo sh-edraft Gismo +~~~~~~~~~~~~~~~~~~~ + +sh-edraft Dicord bot Gismo + +:copyright: (c) 2021 - 2022 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'gismo' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' +__version__ = '0.1.0' + +from collections import namedtuple + # imports: + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='0', minor='1', micro='0') diff --git a/src/gismo/gismo.json b/src/gismo/gismo.json index a3a8bb0..4640298 100644 --- a/src/gismo/gismo.json +++ b/src/gismo/gismo.json @@ -43,6 +43,11 @@ "*.json" ] }, - "ProjectReferences": [] + "ProjectReferences": [ + "../gismo_core/gismo-core.json", + "../gismo_db/gismo-db.json", + "../modules/*", + "../modules_core/modules-core.json" + ] } } \ No newline at end of file diff --git a/src/gismo_db/gismo_db.json b/src/gismo_db/gismo-db.json similarity index 97% rename from src/gismo_db/gismo_db.json rename to src/gismo_db/gismo-db.json index 33952aa..31a89ee 100644 --- a/src/gismo_db/gismo_db.json +++ b/src/gismo_db/gismo-db.json @@ -1,6 +1,6 @@ { "ProjectSettings": { - "Name": "gismo_db", + "Name": "gismo-db", "Version": { "Major": "0", "Minor": "0", diff --git a/src/modules_core/LICENSE b/src/modules_core/LICENSE deleted file mode 100644 index e69de29..0000000 diff --git a/src/modules_core/README.md b/src/modules_core/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/modules_core/appsettings.json b/src/modules_core/appsettings.json deleted file mode 100644 index 629e6eb..0000000 --- a/src/modules_core/appsettings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "TimeFormatSettings": { - "DateFormat": "%Y-%m-%d", - "TimeFormat": "%H:%M:%S", - "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", - "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" - }, - - "LoggingSettings": { - "Path": "logs/", - "Filename": "log_$start_time.log", - "ConsoleLogLevel": "ERROR", - "FileLogLevel": "WARN" - } -} diff --git a/src/modules_core/main.py b/src/modules_core/main.py deleted file mode 100644 index db8266c..0000000 --- a/src/modules_core/main.py +++ /dev/null @@ -1,9 +0,0 @@ -from cpl_core.console import Console - - -def main(): - Console.write_line('Hello World') - - -if __name__ == '__main__': - main() diff --git a/src/modules_core/modules_core.json b/src/modules_core/modules-core.json similarity index 92% rename from src/modules_core/modules_core.json rename to src/modules_core/modules-core.json index 1e2da9c..ea2a0e5 100644 --- a/src/modules_core/modules_core.json +++ b/src/modules_core/modules-core.json @@ -1,6 +1,6 @@ { "ProjectSettings": { - "Name": "modules_core", + "Name": "modules-core", "Version": { "Major": "0", "Minor": "0", @@ -29,7 +29,7 @@ "SourcePath": "", "OutputPath": "../../dist", "Main": "modules_core.main", - "EntryPoint": "modules_core", + "EntryPoint": "modules-core", "IncludePackageData": false, "Included": [], "Excluded": [