henzo 0.0.1__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.
@@ -0,0 +1,55 @@
1
+ name: publish
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ name: Test and build
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: "3.12"
20
+ - name: Check tag matches project version
21
+ run: |
22
+ version=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
23
+ if [ "v${version}" != "${GITHUB_REF_NAME}" ]; then
24
+ echo "Tag ${GITHUB_REF_NAME} does not match pyproject version ${version}"
25
+ exit 1
26
+ fi
27
+ - name: Run tests
28
+ run: |
29
+ python -m pip install --upgrade pip
30
+ python -m pip install -e ".[dev]"
31
+ if [ -d tests ]; then python -m pytest -q; fi
32
+ - name: Build sdist and wheel
33
+ run: |
34
+ python -m pip install build
35
+ python -m build
36
+ - uses: actions/upload-artifact@v4
37
+ with:
38
+ name: dist
39
+ path: dist/
40
+
41
+ publish:
42
+ name: Publish to PyPI
43
+ needs: build
44
+ runs-on: ubuntu-latest
45
+ environment:
46
+ name: pypi
47
+ url: https://pypi.org/p/henzo
48
+ permissions:
49
+ id-token: write
50
+ steps:
51
+ - uses: actions/download-artifact@v4
52
+ with:
53
+ name: dist
54
+ path: dist/
55
+ - uses: pypa/gh-action-pypi-publish@release/v1
henzo-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,6 @@
1
+ Metadata-Version: 2.5
2
+ Name: henzo
3
+ Version: 0.0.1
4
+ Description-Content-Type: text/markdown
5
+
6
+ # henzo
henzo-0.0.1/README.md ADDED
@@ -0,0 +1 @@
1
+ # henzo
File without changes
@@ -0,0 +1,8 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "henzo"
7
+ version = "0.0.1"
8
+ readme = "README.md"