mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-01-02 09:50:41 +00:00
Transitioned to pyproject.toml installation
This commit is contained in:
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-alpha.5"]
|
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.5.0
|
- uses: actions/checkout@v2.5.0
|
||||||
|
|||||||
70
pyproject.toml
Normal file
70
pyproject.toml
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "wavinfo"
|
||||||
|
authors = [{name = "Jamie Hardt", email = "jamiehardt@me.com"}]
|
||||||
|
readme = "README.md"
|
||||||
|
dynamic = ["version", "description"]
|
||||||
|
requires-python = "~=3.8"
|
||||||
|
classifiers = [
|
||||||
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Topic :: Multimedia',
|
||||||
|
'Topic :: Multimedia :: Sound/Audio',
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11"
|
||||||
|
]
|
||||||
|
dependencies = [
|
||||||
|
"lxml ~= 4.9.2"
|
||||||
|
]
|
||||||
|
keywords = [
|
||||||
|
'waveform',
|
||||||
|
'metadata',
|
||||||
|
'audio',
|
||||||
|
'ebu',
|
||||||
|
'smpte',
|
||||||
|
'avi',
|
||||||
|
'library',
|
||||||
|
'film',
|
||||||
|
'broadcast'
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.flit.module]
|
||||||
|
name = "wavinfo"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
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'
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
wavinfo = "wavinfo.__main__:main"
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
typeCheckingMode = "basic"
|
||||||
|
|
||||||
|
[tool.pylint]
|
||||||
|
max-line-length = 88
|
||||||
|
disable = [
|
||||||
|
"C0103", # (invalid-name)
|
||||||
|
"C0114", # (missing-module-docstring)
|
||||||
|
"C0115", # (missing-class-docstring)
|
||||||
|
"C0116", # (missing-function-docstring)
|
||||||
|
"R0903", # (too-few-public-methods)
|
||||||
|
"R0913", # (too-many-arguments)
|
||||||
|
"W0105", # (pointless-string-statement)
|
||||||
|
]
|
||||||
@@ -1 +0,0 @@
|
|||||||
lxml==4.9.1
|
|
||||||
40
setup.py
40
setup.py
@@ -1,40 +0,0 @@
|
|||||||
from setuptools import setup
|
|
||||||
from wavinfo import __author__, __license__, __version__
|
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
|
||||||
long_description = fh.read()
|
|
||||||
|
|
||||||
setup(name='wavinfo',
|
|
||||||
version=__version__,
|
|
||||||
author=__author__,
|
|
||||||
author_email='jamiehardt@me.com',
|
|
||||||
description='Probe WAVE Files for iXML, Broadcast-WAVE and other metadata.',
|
|
||||||
long_description_content_type="text/markdown",
|
|
||||||
long_description=long_description,
|
|
||||||
license=__license__,
|
|
||||||
url='https://github.com/iluvcapra/wavinfo',
|
|
||||||
project_urls={
|
|
||||||
'Source':
|
|
||||||
'https://github.com/iluvcapra/wavinfo',
|
|
||||||
'Documentation':
|
|
||||||
'https://wavinfo.readthedocs.io/',
|
|
||||||
'Issues':
|
|
||||||
'https://github.com/iluvcapra/wavinfo/issues',
|
|
||||||
},
|
|
||||||
packages=['wavinfo'],
|
|
||||||
classifiers=['Development Status :: 5 - Production/Stable',
|
|
||||||
'License :: OSI Approved :: MIT License',
|
|
||||||
'Topic :: Multimedia',
|
|
||||||
'Topic :: Multimedia :: Sound/Audio',
|
|
||||||
"Programming Language :: Python :: 3.8",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11"],
|
|
||||||
keywords='waveform metadata audio ebu smpte avi library film tv editing editorial',
|
|
||||||
install_requires=['lxml'],
|
|
||||||
entry_points={
|
|
||||||
'console_scripts': [
|
|
||||||
'wavinfo = wavinfo.__main__:main'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
)
|
|
||||||
@@ -1,13 +1,8 @@
|
|||||||
"""
|
"""
|
||||||
methods to probe a WAV file for various kinds of production metadata.
|
Probe WAVE Files for iXML, Broadcast-WAVE and other metadata.
|
||||||
|
|
||||||
See the documentation for `wavinfo.WavInfoReader` for more information.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from .wave_reader import WavInfoReader
|
from .wave_reader import WavInfoReader
|
||||||
from .riff_parser import WavInfoEOFError
|
from .riff_parser import WavInfoEOFError
|
||||||
|
|
||||||
__version__ = '2.1.1'
|
__version__ = '2.1.1'
|
||||||
__short_version__ = '2.1'
|
|
||||||
__author__ = 'Jamie Hardt <jamiehardt@gmail.com>'
|
|
||||||
__license__ = "MIT"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user