Skip to content

Commit 0c6ccd4

Browse files
committed
Updated flitcore and modernized pyproject toml.
1 parent cbc64e3 commit 0c6ccd4

File tree

4 files changed

+21
-18
lines changed

4 files changed

+21
-18
lines changed

mediafile/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
)
7373
from .utils import Image, loadfile, mutagen_call, update_filething
7474

75-
__version__ = "1.0.0-rc1"
7675
__all__ = [
7776
"UnreadableFileError",
7877
"FileTypeError",

mediafile/__version__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "1.0.0-alpha.1"

pyproject.toml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
[build-system]
2-
requires = ["flit_core >=2,<4"]
2+
requires = ["flit_core >=3.11,<4"]
33
build-backend = "flit_core.buildapi"
44

5-
[tool.flit.metadata]
6-
module = "mediafile"
7-
author = "Adrian Sampson"
8-
author-email = "[email protected]"
9-
home-page = "https://github.com/beetbox/mediafile"
10-
description-file = "README.rst"
11-
requires = [
12-
"mutagen>=1.46",
13-
"filetype>=1.2.0",
5+
[project]
6+
name = "mediafile"
7+
authors = [
8+
{ name = "Adrian Sampson", email = "[email protected]" },
149
]
15-
requires-python = ">=3.7"
10+
readme = "README.rst"
11+
license = "MIT"
12+
requires-python = ">=3.9"
13+
description = "A simple, cross-format library for reading and writing media file metadata."
14+
dynamic = ["version"]
1615
classifiers = [
1716
'Topic :: Multimedia :: Sound/Audio',
18-
'License :: OSI Approved :: MIT License',
1917
'Environment :: Web Environment',
2018
'Programming Language :: Python :: 3.9',
2119
'Programming Language :: Python :: 3.10',
@@ -24,8 +22,17 @@ classifiers = [
2422
'Programming Language :: Python :: 3.13',
2523
'Programming Language :: Python :: Implementation :: PyPy',
2624
]
25+
dependencies = [
26+
"mutagen>=1.46",
27+
"filetype>=1.2.0",
28+
]
29+
30+
31+
[project.urls]
32+
Documentation = "https://mediafile.readthedocs.io"
33+
Source = "https://github.com/beetbox/mediafile"
2734

28-
[tool.flit.metadata.requires-extra]
35+
[project.optional-dependencies]
2936
dev = [
3037
"ruff",
3138
"pytest"

setup.cfg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)