baodebug 0.1.0__tar.gz → 0.2.0__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.
- baodebug-0.2.0/.github/workflows/publish.yml +48 -0
- {baodebug-0.1.0 → baodebug-0.2.0}/PKG-INFO +3 -1
- {baodebug-0.1.0 → baodebug-0.2.0}/pyproject.toml +6 -3
- {baodebug-0.1.0 → baodebug-0.2.0}/LICENSE +0 -0
- {baodebug-0.1.0 → baodebug-0.2.0}/README.md +0 -0
- {baodebug-0.1.0 → baodebug-0.2.0}/src/baodebug/__init__.py +0 -0
- {baodebug-0.1.0 → baodebug-0.2.0}/src/baodebug/debugutils.py +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
name: Build distribution
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
|
|
14
|
+
- name: Set up Python
|
|
15
|
+
uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: "3.x"
|
|
18
|
+
|
|
19
|
+
- name: Install build tooling
|
|
20
|
+
run: python -m pip install --upgrade build
|
|
21
|
+
|
|
22
|
+
- name: Build sdist and wheel
|
|
23
|
+
run: python -m build
|
|
24
|
+
|
|
25
|
+
- name: Upload distribution artifacts
|
|
26
|
+
uses: actions/upload-artifact@v4
|
|
27
|
+
with:
|
|
28
|
+
name: python-package-distributions
|
|
29
|
+
path: dist/
|
|
30
|
+
|
|
31
|
+
publish:
|
|
32
|
+
name: Publish to PyPI
|
|
33
|
+
needs: build
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
environment:
|
|
36
|
+
name: pypi
|
|
37
|
+
url: https://pypi.org/p/baodebug
|
|
38
|
+
permissions:
|
|
39
|
+
id-token: write # required for trusted publishing (OIDC)
|
|
40
|
+
steps:
|
|
41
|
+
- name: Download distribution artifacts
|
|
42
|
+
uses: actions/download-artifact@v4
|
|
43
|
+
with:
|
|
44
|
+
name: python-package-distributions
|
|
45
|
+
path: dist/
|
|
46
|
+
|
|
47
|
+
- name: Publish to PyPI
|
|
48
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: baodebug
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: An simple Python package for debug
|
|
5
5
|
Author-email: Runqiu Bao <bao@robot.t.u-tokyo.ac.jp>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -10,6 +10,8 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Requires-Python: >=3.8
|
|
13
|
+
Requires-Dist: numpy>=1.19
|
|
14
|
+
Requires-Dist: opencv-python-headless>=4.5
|
|
13
15
|
Description-Content-Type: text/markdown
|
|
14
16
|
|
|
15
17
|
## Python usage
|
|
@@ -4,14 +4,17 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "baodebug" # Package name
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0" # Package version
|
|
8
8
|
description = "An simple Python package for debug"
|
|
9
9
|
readme = "README.md" # Path to the README file
|
|
10
10
|
license = "MIT"
|
|
11
11
|
authors = [
|
|
12
12
|
{name = "Runqiu Bao", email = "bao@robot.t.u-tokyo.ac.jp"}
|
|
13
13
|
]
|
|
14
|
-
dependencies = [
|
|
14
|
+
dependencies = [
|
|
15
|
+
"opencv-python-headless>=4.5",
|
|
16
|
+
"numpy>=1.19",
|
|
17
|
+
] # List dependencies here (e.g., requests, numpy)
|
|
15
18
|
keywords = ["logging", "dumpvisz"]
|
|
16
19
|
classifiers = [
|
|
17
20
|
"Programming Language :: Python :: 3",
|
|
@@ -21,4 +24,4 @@ classifiers = [
|
|
|
21
24
|
requires-python = ">=3.8" # Specify Python version compatibility
|
|
22
25
|
|
|
23
26
|
[tool.hatch.metadata]
|
|
24
|
-
allow-direct-references = true # Optional: for direct dependency references
|
|
27
|
+
allow-direct-references = true # Optional: for direct dependency references
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|