Moved templates/[..]/src to templates/[..]/source to prevent 'src' exclusion
This commit is contained in:
parent
cc9b25356c
commit
98117ed7ad
@ -16,7 +16,7 @@
|
|||||||
"LicenseName": "MIT",
|
"LicenseName": "MIT",
|
||||||
"LicenseDescription": "MIT, see LICENSE for more details.",
|
"LicenseDescription": "MIT, see LICENSE for more details.",
|
||||||
"Dependencies": [
|
"Dependencies": [
|
||||||
"sh_cpl==2021.4.dev1"
|
"sh_cpl==2021.4.post1"
|
||||||
],
|
],
|
||||||
"PythonVersion": ">=3.8",
|
"PythonVersion": ">=3.8",
|
||||||
"PythonPath": {},
|
"PythonPath": {},
|
||||||
|
@ -3,18 +3,17 @@ import os
|
|||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.console import Console
|
from cpl.console.console import Console
|
||||||
from cpl.utils.string import String
|
from cpl.utils.string import String
|
||||||
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
|
||||||
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
||||||
from cpl_cli.source_creator.template_builder import TemplateBuilder
|
from cpl_cli.source_creator.template_builder import TemplateBuilder
|
||||||
from cpl_cli.templates.new.console.appsettings_json import AppsettingsTemplate
|
from cpl_cli.templates.new.console.appsettings_json import AppsettingsTemplate
|
||||||
from cpl_cli.templates.new.console.license import LicenseTemplate
|
from cpl_cli.templates.new.console.license import LicenseTemplate
|
||||||
from cpl_cli.templates.new.console.readme_py import ReadmeTemplate
|
from cpl_cli.templates.new.console.readme_py import ReadmeTemplate
|
||||||
from cpl_cli.templates.new.console.src.name.application import ApplicationTemplate
|
from cpl_cli.templates.new.console.source.name.application import ApplicationTemplate
|
||||||
from cpl_cli.templates.new.console.src.name.init import MainInitTemplate
|
from cpl_cli.templates.new.console.source.name.init import MainInitTemplate
|
||||||
from cpl_cli.templates.new.console.src.name.main import MainWithApplicationHostAndStartupTemplate, \
|
from cpl_cli.templates.new.console.source.name.main import MainWithApplicationHostAndStartupTemplate, \
|
||||||
MainWithoutApplicationBaseTemplate, MainWithApplicationBaseTemplate, MainWithDependencyInjection
|
MainWithoutApplicationBaseTemplate, MainWithApplicationBaseTemplate, MainWithDependencyInjection
|
||||||
from cpl_cli.templates.new.console.src.name.startup import StartupTemplate
|
from cpl_cli.templates.new.console.source.name.startup import StartupTemplate
|
||||||
from cpl_cli.templates.new.console.src.tests.init import TestsInitTemplate
|
from cpl_cli.templates.new.console.source.tests.init import TestsInitTemplate
|
||||||
from cpl_cli.templates.template_file_abc import TemplateFileABC
|
from cpl_cli.templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,12 +8,12 @@ from cpl_cli.source_creator.template_builder import TemplateBuilder
|
|||||||
from cpl_cli.templates.new.library.appsettings_json import AppsettingsTemplate
|
from cpl_cli.templates.new.library.appsettings_json import AppsettingsTemplate
|
||||||
from cpl_cli.templates.new.library.license import LicenseTemplate
|
from cpl_cli.templates.new.library.license import LicenseTemplate
|
||||||
from cpl_cli.templates.new.library.readme_py import ReadmeTemplate
|
from cpl_cli.templates.new.library.readme_py import ReadmeTemplate
|
||||||
from cpl_cli.templates.new.library.src.name.application import ApplicationTemplate
|
from cpl_cli.templates.new.library.source.name.application import ApplicationTemplate
|
||||||
from cpl_cli.templates.new.library.src.name.init import NameInitTemplate
|
from cpl_cli.templates.new.library.source.name.init import NameInitTemplate
|
||||||
from cpl_cli.templates.new.library.src.name.main import MainWithApplicationHostAndStartupTemplate, \
|
from cpl_cli.templates.new.library.source.name.main import MainWithApplicationHostAndStartupTemplate, \
|
||||||
MainWithoutApplicationBaseTemplate, MainWithApplicationBaseTemplate, MainWithDependencyInjection
|
MainWithoutApplicationBaseTemplate, MainWithApplicationBaseTemplate, MainWithDependencyInjection
|
||||||
from cpl_cli.templates.new.library.src.name.startup import StartupTemplate
|
from cpl_cli.templates.new.library.source.name.startup import StartupTemplate
|
||||||
from cpl_cli.templates.new.library.src.tests.init import TestsInitTemplate
|
from cpl_cli.templates.new.library.source.tests.init import TestsInitTemplate
|
||||||
from cpl_cli.templates.template_file_abc import TemplateFileABC
|
from cpl_cli.templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ sh-edraft Common Python library Command Line Interface
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__title__ = 'cpl_cli.templates.new.console'
|
__title__ = 'cpl_cli.templates.new.console.source'
|
||||||
__author__ = 'Sven Heidemann'
|
__author__ = 'Sven Heidemann'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
@ -11,7 +11,7 @@ sh-edraft Common Python library Command Line Interface
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__title__ = 'cpl_cli.templates.new.console.tests'
|
__title__ = 'cpl_cli.templates.new.console.source.name'
|
||||||
__author__ = 'Sven Heidemann'
|
__author__ = 'Sven Heidemann'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
25
src/cpl_cli/templates/new/console/source/tests/__init__.py
Normal file
25
src/cpl_cli/templates/new/console/source/tests/__init__.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
"""
|
||||||
|
sh_cpl-cli sh-edraft Common Python library CLI
|
||||||
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
sh-edraft Common Python library Command Line Interface
|
||||||
|
|
||||||
|
:copyright: (c) 2020 - 2021 sh-edraft.de
|
||||||
|
:license: MIT, see LICENSE for more details.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
__title__ = 'cpl_cli.templates.new.console.source.tests'
|
||||||
|
__author__ = 'Sven Heidemann'
|
||||||
|
__license__ = 'MIT'
|
||||||
|
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
||||||
|
__version__ = '2021.4'
|
||||||
|
|
||||||
|
from collections import namedtuple
|
||||||
|
|
||||||
|
# imports:
|
||||||
|
|
||||||
|
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||||
|
version_info = VersionInfo(major='2021', minor='4', micro='None')
|
@ -11,7 +11,7 @@ sh-edraft Common Python library Command Line Interface
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__title__ = 'cpl_cli.templates.new.console.name'
|
__title__ = 'cpl_cli.templates.new.library.source'
|
||||||
__author__ = 'Sven Heidemann'
|
__author__ = 'Sven Heidemann'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
@ -11,7 +11,7 @@ sh-edraft Common Python library Command Line Interface
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__title__ = 'cpl_cli.templates.new.library'
|
__title__ = 'cpl_cli.templates.new.library.source.name'
|
||||||
__author__ = 'Sven Heidemann'
|
__author__ = 'Sven Heidemann'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
25
src/cpl_cli/templates/new/library/source/tests/__init__.py
Normal file
25
src/cpl_cli/templates/new/library/source/tests/__init__.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
"""
|
||||||
|
sh_cpl-cli sh-edraft Common Python library CLI
|
||||||
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
sh-edraft Common Python library Command Line Interface
|
||||||
|
|
||||||
|
:copyright: (c) 2020 - 2021 sh-edraft.de
|
||||||
|
:license: MIT, see LICENSE for more details.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
__title__ = 'cpl_cli.templates.new.library.source.tests'
|
||||||
|
__author__ = 'Sven Heidemann'
|
||||||
|
__license__ = 'MIT'
|
||||||
|
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
||||||
|
__version__ = '2021.4'
|
||||||
|
|
||||||
|
from collections import namedtuple
|
||||||
|
|
||||||
|
# imports:
|
||||||
|
|
||||||
|
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||||
|
version_info = VersionInfo(major='2021', minor='4', micro='None')
|
@ -1,25 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
"""
|
|
||||||
sh_cpl-cli sh-edraft Common Python library CLI
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
sh-edraft Common Python library Command Line Interface
|
|
||||||
|
|
||||||
:copyright: (c) 2020 - 2021 sh-edraft.de
|
|
||||||
:license: MIT, see LICENSE for more details.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
__title__ = 'cpl_cli.templates.new.library.name'
|
|
||||||
__author__ = 'Sven Heidemann'
|
|
||||||
__license__ = 'MIT'
|
|
||||||
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
|
||||||
__version__ = '2021.4'
|
|
||||||
|
|
||||||
from collections import namedtuple
|
|
||||||
|
|
||||||
# imports:
|
|
||||||
|
|
||||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
|
||||||
version_info = VersionInfo(major='2021', minor='4', micro='None')
|
|
@ -1,25 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
"""
|
|
||||||
sh_cpl-cli sh-edraft Common Python library CLI
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
sh-edraft Common Python library Command Line Interface
|
|
||||||
|
|
||||||
:copyright: (c) 2020 - 2021 sh-edraft.de
|
|
||||||
:license: MIT, see LICENSE for more details.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
__title__ = 'cpl_cli.templates.new.library.tests'
|
|
||||||
__author__ = 'Sven Heidemann'
|
|
||||||
__license__ = 'MIT'
|
|
||||||
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
|
||||||
__version__ = '2021.4'
|
|
||||||
|
|
||||||
from collections import namedtuple
|
|
||||||
|
|
||||||
# imports:
|
|
||||||
|
|
||||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
|
||||||
version_info = VersionInfo(major='2021', minor='4', micro='None')
|
|
Loading…
Reference in New Issue
Block a user