python-plexapi/pyproject.toml
JonnyWong16 60e8c6a6c7
Migrate to pyproject.toml and bump minimum Python version to 3.9 (#1459)
* Migrate to pyproject.toml

* Add .venv to .gitignore

* Exclude tests in MANIFEST.in

* Move pytest into pyproject.toml

* Remove unused coveralls

* Restore requirements_dev.txt

Needed for CI venv cache and readthedocs.

* Exclude .venv for flake8

* Bump minimum Python version to 3.9
2024-11-16 14:09:11 -08:00

39 lines
1 KiB
TOML

[project]
name = "PlexAPI"
authors = [
{ name = "Michael Shepanski", email = "michael.shepanski@gmail.com" }
]
description = "Python bindings for the Plex API."
readme = "README.rst"
requires-python = ">=3.9"
keywords = ["plex", "api"]
license = {file = "LICENSE.txt"}
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
]
dependencies = ["requests"]
dynamic = ["version"]
[project.optional-dependencies]
alert = ["websocket-client>=1.3.3"]
[project.urls]
Homepage = "https://github.com/pkkid/python-plexapi"
Documentation = "https://python-plexapi.readthedocs.io"
[tool.setuptools.dynamic]
version = {attr = "plexapi.const.__version__"}
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
markers = [
"client: this is a client test.",
"req_client: require a client to run this test.",
"anonymously: test plexapi anonymously.",
"authenticated: test plexapi authenticated.",
]