From 3ee617ee38cf5e6ad7fb70e9add723feb9c79f11 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 15 Apr 2023 21:49:34 +0200 Subject: [PATCH] Build project --- cpl-workspace.json | 13 +++++++- src/cpl_reactive_extensions/__init__.py | 25 +++++++++++++++ src/cpl_reactive_extensions/abc/__init__.py | 25 +++++++++++++++ .../cpl-reactive-extensions.json | 32 +++++++++---------- 4 files changed, 77 insertions(+), 18 deletions(-) diff --git a/cpl-workspace.json b/cpl-workspace.json index 706e879e..f4c97235 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -42,12 +42,13 @@ "test": "cpl run unittests", "pre-build-all": "cpl sv $ARGS; cpl spu $ARGS;", - "build-all": "cpl build-cli; cpl build-core; cpl build-discord; cpl build-query; cpl build-translation; cpl build-set-pip-urls; cpl build-set-version", + "build-all": "cpl build-cli; cpl build-core; cpl build-discord; cpl build-query; cpl build-reactive-extensions; cpl build-translation; cpl build-set-pip-urls; cpl build-set-version", "ba": "cpl build-all $ARGS", "build-cli": "echo 'Build cpl-cli'; cd ./src/cpl_cli; cpl build; cd ../../;", "build-core": "echo 'Build cpl-core'; cd ./src/cpl_core; cpl build; cd ../../;", "build-discord": "echo 'Build cpl-discord'; cd ./src/cpl_discord; cpl build; cd ../../;", "build-query": "echo 'Build cpl-query'; cd ./src/cpl_query; cpl build; cd ../../;", + "build-reactive-extensions": "echo 'Build cpl-reactive-x'; cd ./src/cpl_reactive_extensions; cpl build; cd ../../;", "build-translation": "echo 'Build cpl-translation'; cd ./src/cpl_translation; cpl build; cd ../../;", "build-set-pip-urls": "echo 'Build set-pip-urls'; cd ./tools/set_pip_urls; cpl build; cd ../../;", "build-set-version": "echo 'Build set-version'; cd ./tools/set_version; cpl build; cd ../../;", @@ -59,6 +60,7 @@ "publish-core": "echo 'Publish cpl-core'; cd ./src/cpl_core; cpl publish; cd ../../;", "publish-discord": "echo 'Publish cpl-discord'; cd ./src/cpl_discord; cpl publish; cd ../../;", "publish-query": "echo 'Publish cpl-query'; cd ./src/cpl_query; cpl publish; cd ../../;", + "publish-reactive-extensions": "echo 'Publish cpl-reactive-x'; cd ./src/cpl_reactive_extensions; cpl publish; cd ../../;", "publish-translation": "echo 'Publish cpl-translation'; cd ./src/cpl_translation; cpl publish; cd ../../;", "upload-prod-cli": "echo 'PROD Upload cpl-cli'; cpl upl-prod-cli;", @@ -73,6 +75,9 @@ "upload-prod-query": "echo 'PROD Upload cpl-query'; cpl upl-prod-query;", "upl-prod-query": "twine upload -r pip.sh-edraft.de dist/cpl-query/publish/setup/*", + "upload-prod-reactive-extensions": "echo 'PROD Upload cpl-reactive-extensions'; cpl upl-prod-query;", + "upl-prod-reactive-extensions": "twine upload -r pip.sh-edraft.de dist/cpl-reactive-extensions/publish/setup/*", + "upload-prod-translation": "echo 'PROD Upload cpl-translation'; cpl upl-prod-translation;", "upl-prod-translation": "twine upload -r pip.sh-edraft.de dist/cpl-translation/publish/setup/*", @@ -88,6 +93,9 @@ "upload-exp-query": "echo 'EXP Upload cpl-query'; cpl upl-exp-query;", "upl-exp-query": "twine upload -r pip-exp.sh-edraft.de dist/cpl-query/publish/setup/*", + "upload-exp-reactive-extensions": "echo 'EXP Upload cpl-reactive-extensions'; cpl upl-exp-query;", + "upl-exp-reactive-extensions": "twine upload -r pip-exp.sh-edraft.de dist/cpl-reactive-extensions/publish/setup/*", + "upload-exp-translation": "echo 'EXP Upload cpl-translation'; cpl upl-exp-translation;", "upl-exp-translation": "twine upload -r pip-exp.sh-edraft.de dist/cpl-translation/publish/setup/*", @@ -103,6 +111,9 @@ "upload-dev-query": "echo 'DEV Upload cpl-query'; cpl upl-dev-query;", "upl-dev-query": "twine upload -r pip-dev.sh-edraft.de dist/cpl-query/publish/setup/*", + "upload-dev-reactive-extensions": "echo 'DEV Upload cpl-reactive-extensions'; cpl upl-dev-query;", + "upl-dev-reactive-extensions": "twine upload -r pip-dev.sh-edraft.de dist/cpl-reactive-extensions/publish/setup/*", + "upload-dev-translation": "echo 'DEV Upload cpl-translation'; cpl upl-dev-translation;", "upl-dev-translation": "twine upload -r pip-dev.sh-edraft.de dist/cpl-translation/publish/setup/*", diff --git a/src/cpl_reactive_extensions/__init__.py b/src/cpl_reactive_extensions/__init__.py index 425ab6c1..2b4c06ff 100644 --- a/src/cpl_reactive_extensions/__init__.py +++ b/src/cpl_reactive_extensions/__init__.py @@ -1 +1,26 @@ +# -*- coding: utf-8 -*- + +""" +cpl-reactive-extensions CPL Simple ReactiveX implementation +~~~~~~~~~~~~~~~~~~~ + +CPL Simple ReactiveX implementation, see RxJS and RxPy for detailed implementation. + +:copyright: (c) 2023 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = "cpl_reactive_extensions" +__author__ = "Sven Heidemann" +__license__ = "MIT" +__copyright__ = "Copyright (c) 2023 sh-edraft.de" +__version__ = "2023.4.dev170" + +from collections import namedtuple + + # imports + +VersionInfo = namedtuple("VersionInfo", "major minor micro") +version_info = VersionInfo(major="2023", minor="4", micro="dev170") diff --git a/src/cpl_reactive_extensions/abc/__init__.py b/src/cpl_reactive_extensions/abc/__init__.py index 425ab6c1..41ecc2b3 100644 --- a/src/cpl_reactive_extensions/abc/__init__.py +++ b/src/cpl_reactive_extensions/abc/__init__.py @@ -1 +1,26 @@ +# -*- coding: utf-8 -*- + +""" +cpl-reactive-extensions CPL Simple ReactiveX implementation +~~~~~~~~~~~~~~~~~~~ + +CPL Simple ReactiveX implementation, see RxJS and RxPy for detailed implementation. + +:copyright: (c) 2023 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = "cpl_reactive_extensions.abc" +__author__ = "Sven Heidemann" +__license__ = "MIT" +__copyright__ = "Copyright (c) 2023 sh-edraft.de" +__version__ = "2023.4.dev170" + +from collections import namedtuple + + # imports + +VersionInfo = namedtuple("VersionInfo", "major minor micro") +version_info = VersionInfo(major="2023", minor="4", micro="dev170") diff --git a/src/cpl_reactive_extensions/cpl-reactive-extensions.json b/src/cpl_reactive_extensions/cpl-reactive-extensions.json index bd851781..39cd9308 100644 --- a/src/cpl_reactive_extensions/cpl-reactive-extensions.json +++ b/src/cpl_reactive_extensions/cpl-reactive-extensions.json @@ -2,19 +2,19 @@ "ProjectSettings": { "Name": "cpl-reactive-extensions", "Version": { - "Major": "0", - "Minor": "0", - "Micro": "0" + "Major": "2023", + "Minor": "4", + "Micro": "dev170" }, - "Author": "", - "AuthorEmail": "", - "Description": "", - "LongDescription": "", - "URL": "", - "CopyrightDate": "", - "CopyrightName": "", - "LicenseName": "", - "LicenseDescription": "", + "Author": "Sven Heidemann", + "AuthorEmail": "sven.heidemann@sh-edraft.de", + "Description": "CPL Simple ReactiveX implementation", + "LongDescription": "CPL Simple ReactiveX implementation, see RxJS and RxPy for detailed implementation.", + "URL": "https://www.sh-edraft.de", + "CopyrightDate": "2023", + "CopyrightName": "sh-edraft.de", + "LicenseName": "MIT", + "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ "cpl-core>=2023.4.0" ], @@ -22,17 +22,15 @@ "cpl-cli>=2023.4.0" ], "PythonVersion": ">=3.10.4", - "PythonPath": { - "linux": "" - }, + "PythonPath": {}, "Classifiers": [] }, "BuildSettings": { "ProjectType": "library", "SourcePath": "", "OutputPath": "../../dist", - "Main": "cpl_reactive_extensions.main", - "EntryPoint": "cpl-reactive-extensions", + "Main": "", + "EntryPoint": "", "IncludePackageData": false, "Included": [], "Excluded": [