Skip to content

Commit b034f9d

Browse files
committed
remove python 3.9, update setup stuff
1 parent 44a9747 commit b034f9d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ clean:
1010

1111
test:
1212
rm -f *.so *.pyd
13-
${PYTHON} setup.py clean
14-
${PYTHON} setup.py build
13+
${PYTHON} -m build
1514
${PYTHON} -m pytest -v tests
1615
# mypy --follow-imports skip miniaudio.py
1716

@@ -20,8 +19,6 @@ docs:
2019

2120
win_wheels: test
2221
cmd /C del /q dist\*
23-
py -3.9-64 setup.py clean --all
24-
py -3.9-64 setup.py bdist_wheel
2522
py -3.10-64 setup.py clean --all
2623
py -3.10-64 setup.py bdist_wheel
2724
py -3.11-64 setup.py clean --all
@@ -35,16 +32,15 @@ win_wheels: test
3532

3633
linux_wheel: test
3734
rm -f dist/* *.so
38-
${PYTHON} setup.py bdist_wheel
35+
${PYTHON} -m build --wheel
3936
@echo
4037
@echo
4138
@echo "REMEMBER: the Linux wheel may be very system/cpu dependent so should you really use this? Beware."
4239
@echo
4340

4441
dist: test
4542
rm -f dist/* *.so
46-
${PYTHON} setup.py clean
47-
${PYTHON} setup.py sdist
43+
${PYTHON} -m build --sdist
4844

4945
upload: check_upload
5046
twine upload dist/*

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = MIT
1010
license_files = LICENSE
1111
classifiers =
1212
Development Status :: 5 - Production/Stable
13-
License :: OSI Approved :: MIT License
13+
License-Expression :: MIT
1414
Programming Language :: C
1515
Programming Language :: Python
1616
Programming Language :: Python :: 3

0 commit comments

Comments
 (0)