|
| 1 | +[build-system] |
| 2 | +build-backend = "setuptools.build_meta" |
| 3 | + |
| 4 | +requires = [ "setuptools>=61.2" ] |
| 5 | + |
| 6 | +[project] |
| 7 | +name = "openai-whisper" |
| 8 | +description = "Robust Speech Recognition via Large-Scale Weak Supervision" |
| 9 | +readme.content-type = "text/markdown" |
| 10 | +readme.file = "README.md" |
| 11 | +license = { text = "MIT" } |
| 12 | +authors = [ { name = "OpenAI" } ] |
| 13 | +requires-python = ">=3.8" |
| 14 | +classifiers = [ |
| 15 | + "Programming Language :: Python :: 3 :: Only", |
| 16 | + "Programming Language :: Python :: 3.8", |
| 17 | + "Programming Language :: Python :: 3.9", |
| 18 | + "Programming Language :: Python :: 3.10", |
| 19 | + "Programming Language :: Python :: 3.11", |
| 20 | + "Programming Language :: Python :: 3.12", |
| 21 | + "Programming Language :: Python :: 3.13", |
| 22 | +] |
| 23 | +dynamic = [ "version" ] |
| 24 | +dependencies = [ |
| 25 | + "more-itertools", |
| 26 | + "numba", |
| 27 | + "numpy", |
| 28 | + "tiktoken", |
| 29 | + "torch", |
| 30 | + "tqdm", |
| 31 | + "triton>=2; (platform_machine=='x86_64' and sys_platform=='linux') or sys_platform=='linux2'", |
| 32 | +] |
| 33 | +optional-dependencies.dev = [ "black", "flake8", "isort", "pytest", "scipy" ] |
| 34 | +urls = { Homepage = "https://github.com/openai/whisper" } |
| 35 | +scripts.whisper = "whisper.transcribe:cli" |
| 36 | + |
| 37 | +[tool.setuptools] |
| 38 | +py-modules = [ "whisper" ] |
| 39 | +include-package-data = true |
| 40 | + |
| 41 | +[tool.setuptools.dynamic] |
| 42 | +version = { attr = "whisper.version.__version__" } |
| 43 | + |
| 44 | +[tool.setuptools.packages.find] |
| 45 | +exclude = [ "tests*" ] |
| 46 | +namespaces = false |
| 47 | + |
1 | 48 | [tool.black]
|
2 | 49 |
|
3 | 50 | [tool.isort]
|
4 | 51 | profile = "black"
|
5 | 52 | include_trailing_comma = true
|
6 | 53 | line_length = 88
|
7 | 54 | multi_line_output = 3
|
8 |
| - |
|
0 commit comments