Updated pyproject.toml to poetry

This commit is contained in:
Jamie Hardt
2024-11-23 18:47:20 -08:00
parent 9b4f3d7ede
commit c3c8ba2908
2 changed files with 21 additions and 32 deletions

View File

@@ -1,13 +1,16 @@
[build-system] # https://python-poetry.org/docs/pyproject/
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project] [build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "wavinfo" name = "wavinfo"
authors = [{name = "Jamie Hardt", email = "jamiehardt@me.com"}] version = "3.0.1"
description = "Probe WAVE files for all metadata"
authors = ["Jamie Hardt <jamiehardt@me.com>"]
license = "MIT"
readme = "README.md" readme = "README.md"
dynamic = ["version", "description"]
requires-python = "~=3.8"
classifiers = [ classifiers = [
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
@@ -20,9 +23,10 @@ classifiers = [
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13" "Programming Language :: Python :: 3.13"
] ]
dependencies = [ homepage = "https://github.com/iluvcapra/wavinfo"
"lxml ~= 5.3.0" repository = "https://github.com/iluvcapra/wavinfo.git"
] documentation = "https://wavinfo.readthedocs.io/"
urls.Tracker = 'https://github.com/iluvcapra/wavinfo/issues'
keywords = [ keywords = [
'waveform', 'waveform',
'metadata', 'metadata',
@@ -35,29 +39,17 @@ keywords = [
'broadcast' 'broadcast'
] ]
[tool.flit.module] [tool.poetry.extras]
name = "wavinfo" doc = ['sphinx', 'sphinx_rtd_theme']
[project.optional-dependencies] [tool.poetry.scripts]
doc = [
'sphinx >= 5.3.0',
'sphinx_rtd_theme >= 1.1.1',
]
[project.urls]
Home = "https://github.com/iluvcapra/wavinfo"
Documentation = "https://wavinfo.readthedocs.io/"
Source = "https://github.com/iluvcapra/wavinfo.git"
Issues = 'https://github.com/iluvcapra/wavinfo/issues'
[project.entry_points.console_scripts]
wavinfo = 'wavinfo.__main__:main' wavinfo = 'wavinfo.__main__:main'
[project.scripts] [[tool.poetry.packages]]
wavinfo = "wavinfo.__main__:main" include = "data"
[tool.flit.external-data] [tool.poetry.dependencies]
directory = "data" lxml = "~= 5.3.0"
[tool.pyright] [tool.pyright]
typeCheckingMode = "basic" typeCheckingMode = "basic"

View File

@@ -4,6 +4,3 @@ Probe WAVE Files for iXML, Broadcast-WAVE and other metadata.
from .wave_reader import WavInfoReader from .wave_reader import WavInfoReader
from .riff_parser import WavInfoEOFError from .riff_parser import WavInfoEOFError
__version__ = '3.0.0'
__short_version__ = '3.0.0'