Skip to content

Commit ae7babf

Browse files
committed
Fix: CI/CD error
1 parent fd93376 commit ae7babf

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
with:
2222
python-version: "3.11"
2323

24+
- name: Install uv
25+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
26+
2427
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
pip install build twine
28+
run: uv pip install build twine
2829

2930
- name: Build package
3031
run: python -m build

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ classifiers = [
2727
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2828
"Topic :: Software Development :: Libraries :: Python Modules",
2929
]
30-
dependencies = []
30+
dependencies = [
31+
"torch"
32+
]
3133

3234
[project.urls]
3335
"Homepage" = "https://github.com/dmf-archive/SigmaPI"
@@ -45,4 +47,4 @@ dev = [
4547
source = "vcs"
4648

4749
[tool.hatch.build.targets.wheel]
48-
packages = ["main.py"]
50+
packages = ["sigma_pi"]
File renamed without changes.

0 commit comments

Comments
 (0)