summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollo@debian.org>2022-11-27 16:11:22 -0500
committerLouis-Philippe VĂ©ronneau <pollo@debian.org>2022-11-27 16:11:22 -0500
commit5fbdccc89f60c9e3c2967a1966fac57f6566fa54 (patch)
tree6a2541ddba087a8ff7bc30852e4056915b58b9fc /pyproject.toml
parent30d5ca1f0255184b500cbb43d9b3556a70038c53 (diff)
downloadpython-mpv-5fbdccc89f60c9e3c2967a1966fac57f6566fa54.tar.gz
python-mpv-5fbdccc89f60c9e3c2967a1966fac57f6566fa54.tar.bz2
python-mpv-5fbdccc89f60c9e3c2967a1966fac57f6566fa54.zip
Migrate away from setup.py and use PEP 612-style pyproject.toml
Closes #240.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml39
1 files changed, 39 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..05f6090
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,39 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
+
+[tool.setuptools]
+py-modules = ['mpv']
+
+[project]
+name = "python-mpv"
+version = "1.0.1"
+description = "A python interface to the mpv media player"
+readme = "README.rst"
+authors = [{name = "jaseg", email = "github@jaseg.net"}]
+license = {text = "GPLv3+"}
+requires-python = ">=3.7"
+keywords = ['mpv', 'library', 'video', 'audio', 'player', 'display', 'multimedia']
+classifiers = [
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: X11 Applications',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
+ 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
+ 'Natural Language :: English',
+ 'Operating System :: POSIX',
+ 'Programming Language :: C',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Topic :: Multimedia :: Sound/Audio :: Players',
+ 'Topic :: Multimedia :: Video :: Display'
+]
+
+[project.urls]
+homepage = "https://github.com/jaseg/python-mpv"
+
+[project.optional-dependencies]
+screenshot_raw = ["Pillow"]
+test = ['xvfbwrapper']