cham-logging 0.1.2__tar.gz → 0.1.4__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.
- {cham_logging-0.1.2 → cham_logging-0.1.4}/.github/workflows/publish.yml +15 -8
- {cham_logging-0.1.2 → cham_logging-0.1.4}/PKG-INFO +2 -3
- {cham_logging-0.1.2 → cham_logging-0.1.4}/pyproject.toml +3 -3
- {cham_logging-0.1.2 → cham_logging-0.1.4}/uv.lock +1 -1
- {cham_logging-0.1.2 → cham_logging-0.1.4}/.gitignore +0 -0
- {cham_logging-0.1.2 → cham_logging-0.1.4}/LICENSE +0 -0
- {cham_logging-0.1.2 → cham_logging-0.1.4}/README.md +0 -0
- {cham_logging-0.1.2/src → cham_logging-0.1.4}/cham_logging/__init__.py +0 -0
- {cham_logging-0.1.2/src → cham_logging-0.1.4}/cham_logging/bootstrap.py +0 -0
- {cham_logging-0.1.2/src → cham_logging-0.1.4}/cham_logging/py.typed +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
name: Publish
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
9
|
build:
|
|
@@ -19,8 +19,6 @@ jobs:
|
|
|
19
19
|
|
|
20
20
|
- name: Install uv
|
|
21
21
|
uses: astral-sh/setup-uv@v8.2.0
|
|
22
|
-
with:
|
|
23
|
-
enable-cache: true
|
|
24
22
|
|
|
25
23
|
- name: Set up Python
|
|
26
24
|
uses: actions/setup-python@v5
|
|
@@ -31,7 +29,7 @@ jobs:
|
|
|
31
29
|
run: uv build --no-sources
|
|
32
30
|
|
|
33
31
|
- name: Check wheel import
|
|
34
|
-
run: uv run --with dist/*.whl --no-project -- python -c "from cham_logging.bootstrap import init_logger; print(
|
|
32
|
+
run: uv run --with dist/*.whl --no-project -- python -I -c "from cham_logging.bootstrap import init_logger; import cham_logging; print(cham_logging.__file__)"
|
|
35
33
|
|
|
36
34
|
- name: Upload package distributions
|
|
37
35
|
uses: actions/upload-artifact@v4
|
|
@@ -40,7 +38,7 @@ jobs:
|
|
|
40
38
|
path: dist/
|
|
41
39
|
|
|
42
40
|
publish:
|
|
43
|
-
name: Publish
|
|
41
|
+
name: Publish package
|
|
44
42
|
needs: build
|
|
45
43
|
runs-on: ubuntu-latest
|
|
46
44
|
environment:
|
|
@@ -48,7 +46,7 @@ jobs:
|
|
|
48
46
|
url: https://pypi.org/project/cham-logging/
|
|
49
47
|
|
|
50
48
|
permissions:
|
|
51
|
-
contents:
|
|
49
|
+
contents: write
|
|
52
50
|
id-token: write
|
|
53
51
|
|
|
54
52
|
steps:
|
|
@@ -60,3 +58,12 @@ jobs:
|
|
|
60
58
|
|
|
61
59
|
- name: Publish package
|
|
62
60
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
61
|
+
|
|
62
|
+
- name: Create GitHub Release
|
|
63
|
+
run: >-
|
|
64
|
+
gh release create "$GITHUB_REF_NAME"
|
|
65
|
+
dist/*.whl dist/*.tar.gz
|
|
66
|
+
--repo "$GITHUB_REPOSITORY"
|
|
67
|
+
--verify-tag --generate-notes
|
|
68
|
+
env:
|
|
69
|
+
GH_TOKEN: ${{ github.token }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: cham-logging
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A small stdlib-only helper for configuring Python logging.
|
|
5
5
|
Project-URL: Repository, https://github.com/Chamkang6093/cham-logging
|
|
6
6
|
Author: Cham
|
|
@@ -9,7 +9,6 @@ License-File: LICENSE
|
|
|
9
9
|
Keywords: logging,stdlib
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
13
12
|
Classifier: Programming Language :: Python :: 3
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
14
|
Requires-Python: >=3.12
|
|
@@ -3,15 +3,16 @@ requires = ['hatchling >= 1.26']
|
|
|
3
3
|
build-backend = 'hatchling.build'
|
|
4
4
|
|
|
5
5
|
[tool.hatch.build.targets.wheel]
|
|
6
|
-
packages = ["
|
|
6
|
+
packages = ["cham_logging"]
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "cham-logging"
|
|
10
|
-
version = "0.1.
|
|
10
|
+
version = "0.1.4"
|
|
11
11
|
description = "A small stdlib-only helper for configuring Python logging."
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.12"
|
|
14
14
|
license = "MIT"
|
|
15
|
+
license-files = ["LICENSE"]
|
|
15
16
|
authors = [
|
|
16
17
|
{ name = "Cham" },
|
|
17
18
|
]
|
|
@@ -19,7 +20,6 @@ keywords = ["logging", "stdlib"]
|
|
|
19
20
|
classifiers = [
|
|
20
21
|
"Development Status :: 3 - Alpha",
|
|
21
22
|
"Intended Audience :: Developers",
|
|
22
|
-
"License :: OSI Approved :: MIT License",
|
|
23
23
|
"Programming Language :: Python :: 3",
|
|
24
24
|
"Programming Language :: Python :: 3.12",
|
|
25
25
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|