-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(build): move dev requirements to pyproject.toml
- Loading branch information
Showing
4 changed files
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[build-system] | ||
requires = [ | ||
"scikit-build-core", | ||
"Cython" | ||
"scikit-build-core", | ||
"Cython" | ||
] | ||
build-backend = "scikit_build_core.build" | ||
|
||
|
@@ -11,7 +11,7 @@ dynamic = ["version"] | |
description = "An even smaller speech recognizer" | ||
readme = "README.md" | ||
authors = [ | ||
{name = "David Huggins-Daines", email = "[email protected]"} | ||
{name = "David Huggins-Daines", email = "[email protected]"} | ||
] | ||
keywords = ["asr", "speech"] | ||
classifiers = [ | ||
|
@@ -29,6 +29,18 @@ classifiers = [ | |
"Topic :: Multimedia :: Sound/Audio :: Speech", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"scikit-build", | ||
"Cython", | ||
"pytest", | ||
"numpy", | ||
"pre-commit", | ||
"black==24.3.0", | ||
"isort", | ||
"mypy==0.991", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/ReadAlongs/SoundSwallower" | ||
Documentation = "https://soundswallower.readthedocs.io/" | ||
|
@@ -39,22 +51,23 @@ Issues = "https://github.com/ReadAlongs/SoundSwallower/issues" | |
soundswallower = "soundswallower.cli:main" | ||
|
||
[tool.cibuildwheel] | ||
# Build a reduced selection of binaries as there are tons of them | ||
# Build binaries for supported versions of Python | ||
build = [ | ||
"cp38-*", | ||
"cp39-*", | ||
"cp310-*", | ||
"cp311-*", | ||
"cp312-*", | ||
"cp38-*", | ||
"cp39-*", | ||
"cp310-*", | ||
"cp311-*", | ||
"cp312-*", | ||
"cp313-*", | ||
] | ||
# Build only universal wheels for Mac where possible, and skip 32-bit | ||
# builds to avoid building a gigabyte of stuff all the time | ||
skip = [ | ||
"cp*-macosx_x86_64", | ||
"cp*-macosx_arm64", | ||
"*_i686", | ||
"*musl*", | ||
"*-win32", | ||
"cp*-macosx_x86_64", | ||
"cp*-macosx_arm64", | ||
"*_i686", | ||
"*musl*", | ||
"*-win32", | ||
] | ||
|
||
[tool.cibuildwheel.macos] | ||
|
This file was deleted.
Oops, something went wrong.