Skip to content

Commit

Permalink
🏗️ migrated to pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Oct 10, 2023
1 parent 28a2363 commit 6b0048d
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 70 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Version history

## Unreleased

- Migrated to pyproject.toml

## 1.6.2 2023-10-10

- Temptative support for freebsd
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Features
- Shortened constant names for formats (Using namespaces instead of prefixes)
- Transparent UTF-8 handling for filenames and text strings
- No module compilation required (wraps the dll using ctypes)
- Compatible with Python >= 2.6 including Python3
- Compatible with Python >= 3.8

You can find the latest version at:
https://github.com/vokimon/python-wavefile
Expand Down
56 changes: 56 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[build-system]
requires = ["setuptools", "wheel"]


[project]
name = "wavefile"
version = "1.6.2"
description = "Pythonic wave file reader and writer"
authors = [
{ name="David GarcĂ­a GarzĂłn", email="voki@canvoki.net" },
]
readme = "README.md"
requires-python = ">=3.8"
license = { file="LICENSE"}
keywords = ["audio", "wavefile", "libsndfile"]

classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Multimedia',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
]
dependencies = [
'numpy',
]

[project.optional-dependencies]
test = [
'pytest',
'pytest-cov',
]
examples = [
'PyAudio',
]

[project.urls]
Homepage = "https://github.com/vokimon/python-wavefile"
Documentation = "https://readthedocs.org"
Repository = "https://github.com/vokimon/python-wavefile"
Changelog = "https://github.com/vokimon/python-wavefile/blob/master/CHANGELOG.md"

[tool.coverage.run]
relative_files = true
branch = true
omit = ["**/*test.py"]

[tool.pytest.ini_options]
addopts = "--cov=wavefile"


9 changes: 0 additions & 9 deletions setup.cfg

This file was deleted.

60 changes: 0 additions & 60 deletions setup.py

This file was deleted.

0 comments on commit 6b0048d

Please sign in to comment.