|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools", "wheel"] |
| 2 | +requires = ["setuptools", "wheel", "pa_ringbuffer", "cffi>=1.4.0"] |
3 | 3 | build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +requires-python = ">=3.10" |
| 7 | +name = "rtmixer" |
| 8 | +dynamic = ["version"] |
| 9 | +readme = {content-type = "text/x-rst", file = "README.rst"} |
| 10 | +authors = [ |
| 11 | + {email = "Matthias.Geier@gmail.com", name = "Matthias Geier"}, |
| 12 | +] |
| 13 | +description = 'Reliable low-latency audio playback and recording' |
| 14 | +license = 'MIT' |
| 15 | +keywords = [ |
| 16 | + "sound", "audio", "PortAudio", "realtime", "low-latency" |
| 17 | +] |
| 18 | +dependencies = [ |
| 19 | + 'CFFI>=1', # for _cffi_backend |
| 20 | + 'pa_ringbuffer', # for init() |
| 21 | + 'sounddevice>0.3.9', |
| 22 | +] |
| 23 | +classifiers =[ |
| 24 | + 'Operating System :: OS Independent', |
| 25 | + 'Programming Language :: Python', |
| 26 | + 'Programming Language :: Python :: 3', |
| 27 | + 'Topic :: Multimedia :: Sound/Audio', |
| 28 | +] |
| 29 | + |
| 30 | +[project.urls] |
| 31 | +"Bug Tracker" = "https://github.com/spatialaudio/python-rtmixer/issues" |
| 32 | +Documentation = "https://python-rtmixer.readthedocs.io" |
| 33 | +Homepage = "https://python-rtmixer.readthedocs.io" |
| 34 | +"Source Code" = "https://github.com/spatialaudio/python-rtmixer" |
| 35 | + |
| 36 | +[tool.cibuildwheel] |
| 37 | +enable = ["pypy", "pypy-eol"] |
| 38 | +manylinux-aarch64-image = "manylinux2014" |
| 39 | +manylinux-pypy_x86_64-image = "manylinux2014" |
| 40 | +manylinux-pypy_aarch64-image = "manylinux2014" |
| 41 | +manylinux-x86_64-image = "manylinux2014" |
| 42 | +test-command = "python -c \"import rtmixer; print(rtmixer.__version__)\"" |
| 43 | +# No portaudio on these platforms: |
| 44 | +test-skip = "*_i686 *-musllinux_* *_aarch64" |
| 45 | +# To enable testing we'd have to bump up to the Almalinux 8-based image: |
| 46 | +# manylinux-aarch64-image = "manylinux_2_28" |
| 47 | +repair-wheel-command = "bash ./tools/cibw_repair_wheel_command.sh {dest_dir} {wheel} {delocate_archs}" |
| 48 | + |
| 49 | +[tool.cibuildwheel.linux] |
| 50 | +before-test = "bash {project}/tools/cibw_before_test_linux.sh" |
| 51 | +environment = { RUNNER_OS="Linux" } # facilitate local testing |
0 commit comments