Skip to content

Commit a16f997

Browse files
committed
initial move to helm_sdkpy
1 parent c8ca15e commit a16f997

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
if: startsWith(github.ref, 'refs/tags/')
9898
environment:
9999
name: pypi
100-
url: https://pypi.org/p/helmpy
100+
url: https://pypi.org/p/helm-sdkpy
101101

102102
steps:
103103
- name: Download build artifacts
@@ -200,6 +200,6 @@ jobs:
200200
201201
- name: Success notification
202202
run: |
203-
echo "🎉 Successfully released helmpy ${{ steps.get_version.outputs.tag }}"
204-
echo "📦 Published to PyPI: https://pypi.org/project/helmpy/${{ steps.get_version.outputs.version }}/"
203+
echo "🎉 Successfully released helm-sdkpy ${{ steps.get_version.outputs.tag }}"
204+
echo "📦 Published to PyPI: https://pypi.org/project/helm-sdkpy/${{ steps.get_version.outputs.version }}/"
205205
echo "🚀 GitHub Release: ${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ steps.get_version.outputs.tag }}"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ cython_debug/
140140
# Go build artifacts
141141
go/shim/*.h
142142
go/shim/*.so
143-
helmpy/_lib/
143+
helm_sdkpy/_lib/
144144

145145
# Vendor libraries
146146
vendor/install/

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Multi-stage Dockerfile for building helmpy with bundled dependencies
1+
# Multi-stage Dockerfile for building helm_sdkpy with bundled dependencies
22
# This creates a self-contained Python wheel with embedded Helm Go library
33

44
# Stage 1: Build environment with all dependencies
@@ -38,15 +38,15 @@ WORKDIR /build/go
3838
RUN go mod download && go mod tidy
3939

4040
# Build the Go shared library
41-
RUN mkdir -p /build/helmpy/_lib/linux-amd64 && \
41+
RUN mkdir -p /build/helm_sdkpy/_lib/linux-amd64 && \
4242
cd shim && \
4343
go build -buildmode=c-shared \
44-
-o /build/helmpy/_lib/linux-amd64/libhelmpy.so \
44+
-o /build/helm_sdkpy/_lib/linux-amd64/libhelm_sdkpy.so \
4545
main.go
4646

4747
# Verify the shared library was built
48-
RUN ls -lh /build/helmpy/_lib/linux-amd64/libhelmpy.so && \
49-
ldd /build/helmpy/_lib/linux-amd64/libhelmpy.so || true
48+
RUN ls -lh /build/helm_sdkpy/_lib/linux-amd64/libhelm_sdkpy.so && \
49+
ldd /build/helm_sdkpy/_lib/linux-amd64/libhelm_sdkpy.so || true
5050

5151
# Stage 3: Build Python wheel
5252
FROM go-build AS wheel-build
@@ -66,4 +66,4 @@ RUN ls -lh dist/*.whl
6666
# Stage 4: Extract artifacts
6767
FROM scratch AS artifacts
6868
COPY --from=wheel-build /build/dist/*.whl /
69-
COPY --from=go-build /build/helmpy/_lib/linux-amd64/libhelmpy.so /
69+
COPY --from=go-build /build/helm_sdkpy/_lib/linux-amd64/libhelm_sdkpy.so /
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "helmpy"
2+
name = "helm-sdkpy"
33
version = "0.0.1"
44
description = "Python bindings for Helm - The Kubernetes Package Manager"
55
readme = "README.md"
@@ -53,32 +53,32 @@ dev = [
5353

5454

5555
[tool.hatch.build.targets.wheel]
56-
packages = ["helmpy"]
56+
packages = ["helm_sdkpy"]
5757
# Include binary artifacts (shared libraries)
5858
artifacts = [
59-
"helmpy/_lib/**/*",
59+
"helm_sdkpy/_lib/**/*",
6060
]
6161

6262
# Source distribution - mirror wheel contents plus build requirements
6363
[tool.hatch.build.targets.sdist]
6464
# Only include helmpy package (same as wheel) plus essential build files
6565
only-include = [
66-
"helmpy",
66+
"helm_sdkpy",
6767
"pyproject.toml",
6868
"README.md",
6969
"LICENSE",
7070
]
7171
# Include binary files in sdist
7272
artifacts = [
73-
"helmpy/_lib/**/*",
73+
"helm_sdkpy/_lib/**/*",
7474
]
7575

7676
[tool.hatch.metadata]
7777
allow-direct-references = true
7878

7979
# Pyright configuration
8080
[tool.pyright]
81-
include = ["helmpy", "tests"]
81+
include = ["helm_sdkpy", "tests"]
8282
exclude = ["examples", "build", "vendor"]
8383
pythonVersion = "3.12"
8484

@@ -101,7 +101,7 @@ ignore = [
101101
]
102102

103103
[tool.coverage.run]
104-
source = ["helmpy"]
104+
source = ["helm_sdkpy"]
105105
omit = ["*/tests/*", "*/test_*.py"]
106106

107107
[tool.coverage.report]

0 commit comments

Comments
 (0)