We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d230460 commit 12f8394Copy full SHA for 12f8394
.github/workflows/pypi.yml
@@ -15,12 +15,12 @@ jobs:
15
python-version: '3.9'
16
- name: Install dependencies
17
run: |
18
- python -m pip install --upgrade pip uv
19
- python -m uv pip install setuptools wheel twine
+ pip install --upgrade pip uv
+ uv pip install build twine
20
- name: Build and publish
21
env:
22
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24
25
- python setup.py sdist bdist_wheel
+ python -m build
26
twine upload dist/*
segmentation_models_pytorch/__version__.py
@@ -1,3 +1,3 @@
1
-VERSION = (0, 3, "5dev0")
+VERSION = (0, 4, 0)
2
3
__version__ = ".".join(map(str, VERSION))
0 commit comments