Skip to content

Commit 78b1012

Browse files
committed
update cd to not use setup.py
1 parent 57137a4 commit 78b1012

File tree

3 files changed

+175
-6
lines changed

3 files changed

+175
-6
lines changed

Diff for: .github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727

2828
- name: Build artifact
2929
run: |
30-
python setup.py sdist
31-
python setup.py bdist_wheel
30+
uv run python -m build
3231
3332
- name: Publish package
3433
uses: pypa/gh-action-pypi-publish@release/v1

Diff for: pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ path = "unstructured_platform_plugins/__version__.py"
3737
[dependency-groups]
3838
release = [
3939
"twine",
40-
"wheel"
40+
"wheel",
41+
"build"
4142
]
4243
lint = [
4344
"ruff",

0 commit comments

Comments
 (0)