Skip to content

Commit c02423b

Browse files
committed
Revert "Updated flitcore and modernized pyproject toml."
This reverts commit 0c6ccd4.
1 parent 92b4852 commit c02423b

File tree

4 files changed

+18
-21
lines changed

4 files changed

+18
-21
lines changed

mediafile/__init__.py

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

75+
__version__ = "1.0.0-rc1"
7576
__all__ = [
7677
"UnreadableFileError",
7778
"FileTypeError",

mediafile/__version__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

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

5-
[project]
6-
name = "mediafile"
7-
authors = [
8-
{ name = "Adrian Sampson", email = "[email protected]" },
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",
914
]
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"]
15+
requires-python = ">=3.7"
1516
classifiers = [
1617
'Topic :: Multimedia :: Sound/Audio',
18+
'License :: OSI Approved :: MIT License',
1719
'Environment :: Web Environment',
1820
'Programming Language :: Python :: 3.9',
1921
'Programming Language :: Python :: 3.10',
@@ -22,17 +24,8 @@ classifiers = [
2224
'Programming Language :: Python :: 3.13',
2325
'Programming Language :: Python :: Implementation :: PyPy',
2426
]
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"
3427

35-
[project.optional-dependencies]
28+
[tool.flit.metadata.requires-extra]
3629
dev = [
3730
"ruff",
3831
"pytest",

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[nosetests]
2+
verbosity=1
3+
logging-clear-handlers=1
4+
eval-attr="!=slow"

0 commit comments

Comments
 (0)