diff --git a/.idea/misc.xml b/.idea/misc.xml
index 74c32a17..d56657ad 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,7 +1,4 @@
-
-
-
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 7899a43d..01dddac8 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -22,12 +22,31 @@
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -78,7 +97,7 @@
-
+
@@ -92,11 +111,11 @@
+
-
@@ -352,7 +371,7 @@
-
+
@@ -451,7 +470,6 @@
-
@@ -466,13 +484,6 @@
1605881914521
-
- 1608139067953
-
-
-
- 1608139067953
-
1608139239527
@@ -809,7 +820,14 @@
1615232454844
-
+
+ 1615232966232
+
+
+
+ 1615232966232
+
+
@@ -825,7 +843,6 @@
-
@@ -850,7 +867,8 @@
-
+
+
diff --git a/cpl.json b/cpl.json
index 332b2d94..2b12f42d 100644
--- a/cpl.json
+++ b/cpl.json
@@ -21,20 +21,17 @@
"SQLAlchemy",
"termcolor",
"pyfiglet",
- "tabulate",
- "smtplib"
+ "tabulate"
],
"PythonVersion": ">=3.8"
},
"BuildSettings": {
- "SourcePath": "src/cpl",
+ "SourcePath": "src",
"OutputPath": "dist",
"Main": "cpl_cli.main",
"EntryPoint": "cpl",
"IncludePackageData": "False",
- "Included": [
- "src/cpl_cli"
- ],
+ "Included": [],
"Excluded": [
"*/__pycache__",
"*/logs"
diff --git a/src/cpl_cli/__init__.py b/src/cpl_cli/__init__.py
deleted file mode 100644
index b42288f3..00000000
--- a/src/cpl_cli/__init__.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- coding: utf-8 -*-
-
-"""
-sh_cpl sh-edraft Common Python library
-~~~~~~~~~~~~~~~~~~~
-
-sh-edraft Common Python library
-
-:copyright: (c) 2020 - 2021 sh-edraft.de
-:license: MIT, see LICENSE for more details.
-
-"""
-
-__title__ = 'sh_cpl.cpl_cli'
-__author__ = 'Sven Heidemann'
-__license__ = 'MIT'
-__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
-__version__ = '2021.4.1'
-
-from collections import namedtuple
-
-# imports:
-
-VersionInfo = namedtuple('VersionInfo', 'major minor micro')
-version_info = VersionInfo(major=2021, minor=4, micro=1)
diff --git a/src/cpl_cli/publish/publisher.py b/src/cpl_cli/publish/publisher.py
index f2f523c5..d1b305c6 100644
--- a/src/cpl_cli/publish/publisher.py
+++ b/src/cpl_cli/publish/publisher.py
@@ -228,8 +228,7 @@ class Publisher(PublisherABC):
setup_string = stringTemplate(template_string).substitute(
Name=self._project_settings.name,
Version=self._project_settings.version.to_str(),
- Packages=setuptools.find_packages(where=self._build_settings.source_path,
- exclude=self._build_settings.excluded),
+ Packages=setuptools.find_packages(where=self._build_settings.source_path, exclude=self._build_settings.excluded),
URL=self._project_settings.url,
LicenseName=self._project_settings.license_name,
Author=self._project_settings.author,
diff --git a/src/cpl_cli/templates/publish/setup.txt b/src/cpl_cli/templates/publish/setup.txt
index a332470e..dab0356c 100644
--- a/src/cpl_cli/templates/publish/setup.txt
+++ b/src/cpl_cli/templates/publish/setup.txt
@@ -14,7 +14,6 @@ setuptools.setup(
author_email='$AuthorMail',
include_package_data=$InstallPackageData,
description='$Description',
- package_dir = {'': 'cpl'},
python_requires='$PyRequires',
install_requires=$Dependencies,
entry_points=$EntryPoints
diff --git a/src/tests/__init__.py b/src/tests/__init__.py
index c91a0362..71ee2167 100644
--- a/src/tests/__init__.py
+++ b/src/tests/__init__.py
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
"""
-sh_cpl Common Python Library
+sh_cpl sh-edraft Common Python library
~~~~~~~~~~~~~~~~~~~
-Common Python Library
+sh-edraft Common Python library
-:copyright: (c) 2020 sh-edraft.de
+:copyright: (c) 2020 - 2021 sh-edraft.de
:license: MIT, see LICENSE for more details.
"""
-__title__ = 'src.tests'
+__title__ = 'sh_cpl.tests'
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
-__copyright__ = 'Copyright (c) 2020 sh-edraft.de'
+__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
__version__ = '2021.4.1'
from collections import namedtuple
diff --git a/src/tests/db/__init__.py b/src/tests/db/__init__.py
index 862072c8..746ca0b0 100644
--- a/src/tests/db/__init__.py
+++ b/src/tests/db/__init__.py
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
"""
-sh_cpl Common Python Library
+sh_cpl sh-edraft Common Python library
~~~~~~~~~~~~~~~~~~~
-Common Python Library
+sh-edraft Common Python library
-:copyright: (c) 2020 sh-edraft.de
+:copyright: (c) 2020 - 2021 sh-edraft.de
:license: MIT, see LICENSE for more details.
"""
-__title__ = 'src.tests.db'
+__title__ = 'tests.db'
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
-__copyright__ = 'Copyright (c) 2020 sh-edraft.de'
+__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
__version__ = '2021.4.1'
from collections import namedtuple