First dev build

This commit is contained in:
2022-05-25 19:38:38 +02:00
parent 28505479ba
commit 4224960837
52 changed files with 166 additions and 148 deletions

View File

@@ -1 +0,0 @@
# imports:

View File

@@ -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"
}
}

View File

@@ -1,43 +0,0 @@
{
"ProjectSettings": {
"Name": "set-pip-url",
"Version": {
"Major": "0",
"Minor": "0",
"Micro": "0"
},
"Author": "",
"AuthorEmail": "",
"Description": "",
"LongDescription": "",
"URL": "",
"CopyrightDate": "",
"CopyrightName": "",
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"cpl-core>=2022.6.15.dev6"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {
"linux": ""
},
"Classifiers": []
},
"BuildSettings": {
"ProjectType": "console",
"SourcePath": "",
"OutputPath": "../../dist",
"Main": "set_pip_url.main",
"EntryPoint": "set-pip-url",
"IncludePackageData": false,
"Included": [],
"Excluded": [
"*/__pycache__",
"*/logs",
"*/tests"
],
"PackageData": {},
"ProjectReferences": []
}
}

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
"""
set-pip-urls CPL internal tool to set pip URL for CLI by environment
~~~~~~~~~~~~~~~~~~~
CPL internal tool to set pip URL for CLI by environment
:copyright: (c) 2020 - 2022 sh-edraft.de
:license: MIT, see LICENSE for more details.
"""
__title__ = 'set_pip_urls'
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
__copyright__ = 'Copyright (c) 2020 - 2022 sh-edraft.de'
__version__ = '2022.6.0'
from collections import namedtuple
# imports:
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
version_info = VersionInfo(major='2022', minor='6', micro='0')

View File

@@ -13,4 +13,4 @@ class Application(ApplicationABC):
pass
def main(self):
Console.write_line('Hello World')
Console.write_line('Hello World', self._environment.environment_name)

View File

@@ -0,0 +1,7 @@
{
"PIPSettings": {
"production": "https://pip.sh-edraft.de",
"staging": "https://pip-exp.sh-edraft.de",
"development": "https://pip-dev.sh-edraft.de"
}
}

View File

@@ -1,7 +1,7 @@
from cpl_core.application import ApplicationBuilder
from set_pip_url.application import Application
from set_pip_url.startup import Startup
from set_pip_urls.application import Application
from set_pip_urls.startup import Startup
def main():

View File

@@ -0,0 +1,41 @@
{
"ProjectSettings": {
"Name": "set-pip-urls",
"Version": {
"Major": "2022",
"Minor": "6",
"Micro": "0"
},
"Author": "Sven Heidemann",
"AuthorEmail": "sven.heidemann@sh-edraft.de",
"Description": "CPL internal tool to set pip URL for CLI by environment",
"LongDescription": "CPL internal tool to set pip URL for CLI by environment",
"URL": "https://www.sh-edraft.de",
"CopyrightDate": "2020 - 2022",
"CopyrightName": "sh-edraft.de",
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"cpl-core>=2022.6.16.dev1"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {},
"Classifiers": []
},
"BuildSettings": {
"ProjectType": "console",
"SourcePath": "",
"OutputPath": "../../dist",
"Main": "set_pip_url.main",
"EntryPoint": "set-pip-url",
"IncludePackageData": false,
"Included": [],
"Excluded": [
"*/__pycache__",
"*/logs",
"*/tests"
],
"PackageData": {},
"ProjectReferences": []
}
}

View File

@@ -15,11 +15,11 @@ __title__ = 'set_version'
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
__copyright__ = 'Copyright (c) 2020 - 2022 sh-edraft.de'
__version__ = '2022.6'
__version__ = '2022.6.0'
from collections import namedtuple
# imports:
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
version_info = VersionInfo(major='2022', minor='6', micro='None')
version_info = VersionInfo(major='2022', minor='6', micro='0')

View File

@@ -4,7 +4,7 @@
"Version": {
"Major": "2022",
"Minor": "6",
"Micro": ""
"Micro": "0"
},
"Author": "Sven Heidemann",
"AuthorEmail": "sven.heidemann@sh-edraft.de",
@@ -16,7 +16,7 @@
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"cpl-core>=2022.6.15.dev6"
"cpl-core>=2022.6.16.dev1"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {},