itw-python-builder 0.2.6__tar.gz → 0.2.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/PKG-INFO +1 -1
- itw_python_builder-0.2.8/itw_python_builder/cli.py +35 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/PKG-INFO +1 -1
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/pyproject.toml +1 -1
- itw_python_builder-0.2.6/itw_python_builder/cli.py +0 -9
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/LICENSE +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/README.md +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/.pylintrc +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/__init__.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/_pyruntime/sitecustomize.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/notify.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/ssr_tasks.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/task_utils.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/tasks.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/templates/new_version_email.html +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/templates/server.sitemap.snippet.ts +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/templates/sitemap.routes.ts +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/utils.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/version.py +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/SOURCES.txt +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/dependency_links.txt +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/entry_points.txt +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/requires.txt +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/top_level.txt +0 -0
- {itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/setup.cfg +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from importlib.metadata import PackageNotFoundError, version as _pkg_version
|
|
2
|
+
|
|
3
|
+
from invoke import Argument, Collection, Program
|
|
4
|
+
|
|
5
|
+
from itw_python_builder import tasks
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def _get_version() -> str:
|
|
9
|
+
try:
|
|
10
|
+
return _pkg_version('itw_python_builder')
|
|
11
|
+
except PackageNotFoundError:
|
|
12
|
+
return 'unknown'
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ItwProgram(Program):
|
|
16
|
+
def core_args(self):
|
|
17
|
+
args = super().core_args()
|
|
18
|
+
result = []
|
|
19
|
+
for arg in args:
|
|
20
|
+
if 'version' in arg.names:
|
|
21
|
+
result.append(Argument(
|
|
22
|
+
names=('version', 'v'),
|
|
23
|
+
kind=bool,
|
|
24
|
+
default=False,
|
|
25
|
+
help='Show version and exit.',
|
|
26
|
+
))
|
|
27
|
+
else:
|
|
28
|
+
result.append(arg)
|
|
29
|
+
return result
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main():
|
|
33
|
+
namespace = Collection.from_module(tasks)
|
|
34
|
+
program = ItwProgram(namespace=namespace, name='itw', version=_get_version())
|
|
35
|
+
program.run()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "itw_python_builder"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.8"
|
|
8
8
|
description = "Standardized Django deployment pipeline with Docker, testing, and SonarQube integration"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/_pyruntime/sitecustomize.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder/templates/sitemap.routes.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/requires.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.2.6 → itw_python_builder-0.2.8}/itw_python_builder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|