Skip to content

Commit ebb4813

Browse files
author
Daniele Briggi
committed
fix(package): binaries destination folder
1 parent 422dbac commit ebb4813

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
description: "Version to use for the Python package (e.g. 0.9.9)"
88
required: true
99
type: string
10+
test-pypi:
11+
description: "Publish to Test PyPI"
12+
required: false
13+
type: boolean
14+
default: false
15+
1016
workflow_run:
1117
workflows: ["Build, Test and Release"]
1218
types:
@@ -104,4 +110,4 @@ jobs:
104110
# Avoid workflow to fail if the version has already been published
105111
skip-existing: true
106112
# Upload to Test Pypi for testing
107-
#repository-url: https://test.pypi.org/legacy/
113+
repository-url: ${{ github.event.inputs.test-pypi == 'true' && 'https://test.pypi.org/legacy/' || '' }}

packages/python/MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include README.md
22
include LICENSE.md
3-
recursive-include src/sqlite-vector/binaries *
3+
recursive-include src/sqlite_vector/binaries *

packages/python/download_artifacts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"macosx_11_0_arm64": "vector.dylib",
3232
}
3333

34-
BINARIES_DIR = Path(__file__).parent / "src/sqlite-vector/binaries"
34+
BINARIES_DIR = Path(__file__).parent / "src/sqlite_vector/binaries"
3535

3636

3737
def download_and_extract(artifact_name, bin_name, version):

0 commit comments

Comments
 (0)