Skip to content

Commit f4598ff

Browse files
committed
prepare release
1 parent af875ff commit f4598ff

File tree

3 files changed

+52
-30
lines changed

3 files changed

+52
-30
lines changed

.github/workflows/build_wheels.yml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [windows-latest]
16-
# os: [ubuntu-latest, windows-latest, macos-13, macos-14]
15+
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
1716
# macos-13: macOS Intel (x86_64)
1817
# macos-14: macOS Apple Silicon (arm64)
1918

@@ -32,34 +31,34 @@ jobs:
3231
name: wheels-${{ matrix.os }}
3332
path: ./wheelhouse/*.whl
3433

35-
# build_sdist:
36-
# name: Build source distribution
37-
# runs-on: ubuntu-latest
38-
# steps:
39-
# - uses: actions/checkout@v4
40-
# with:
41-
# submodules: recursive
34+
build_sdist:
35+
name: Build source distribution
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v4
39+
with:
40+
submodules: recursive
4241

43-
# - name: Build sdist
44-
# run: pipx run build --sdist
42+
- name: Build sdist
43+
run: pipx run build --sdist
4544

46-
# - uses: actions/upload-artifact@v4
47-
# with:
48-
# name: sdist
49-
# path: dist/*.tar.gz
45+
- uses: actions/upload-artifact@v4
46+
with:
47+
name: sdist
48+
path: dist/*.tar.gz
5049

51-
# upload_pypi:
52-
# needs: [build_wheels, build_sdist]
53-
# runs-on: ubuntu-latest
54-
# if: github.event_name == 'release' && github.event.action == 'published'
55-
# permissions:
56-
# id-token: write
50+
upload_pypi:
51+
needs: [build_wheels, build_sdist]
52+
runs-on: ubuntu-latest
53+
if: github.event_name == 'release' && github.event.action == 'published'
54+
permissions:
55+
id-token: write
5756

58-
# steps:
59-
# - uses: actions/download-artifact@v4
60-
# with:
61-
# pattern: "*"
62-
# path: dist
63-
# merge-multiple: true
57+
steps:
58+
- uses: actions/download-artifact@v4
59+
with:
60+
pattern: "*"
61+
path: dist
62+
merge-multiple: true
6463

65-
# - uses: pypa/gh-action-pypi-publish@release/v1
64+
- uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,33 @@ build-backend = "scikit_build_core.build"
66
name = "pysfizz"
77
version = "0.1.0"
88
description = "Python bindings for sfizz"
9+
authors = [{ name = "Haokun Tian", email = "[email protected]" }]
10+
license = { file = "LICENSE" }
911
readme = "README.md"
1012
requires-python = ">=3.9"
11-
dependencies = [
12-
"numpy",
13+
dependencies = ["numpy"]
14+
keywords = ["audio", "synthesis", "sfz", "sampler", "music", "sfizz"]
15+
classifiers = [
16+
"Development Status :: 3 - Alpha",
17+
"Intended Audience :: Developers",
18+
"Intended Audience :: Science/Research",
19+
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
20+
"Topic :: Software Development :: Libraries :: Python Modules",
21+
"Programming Language :: Python :: 3.9",
22+
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
26+
"Operating System :: POSIX :: Linux",
27+
"Operating System :: MacOS",
28+
"Operating System :: Microsoft :: Windows",
29+
"License :: OSI Approved :: BSD License",
1330
]
1431

32+
[project.urls]
33+
Source = "https://github.com/tiianhk/pysfizz"
34+
Tracker = "https://github.com/tiianhk/pysfizz/issues"
35+
1536
[tool.scikit-build]
1637
wheel.packages = ["pysfizz"]
1738
cmake.build-type = "Release"

pysfizz/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
from . import _sfizz
22
from .synth import Synth
3+
4+
__version__ = "0.1.0"

0 commit comments

Comments
 (0)