Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Move project metadata to pyproject.yaml #2045

Merged
merged 2 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
[project]
name = "PlexTraktSync"
dynamic = ["version"]
description = "Plex-Trakt-Sync is a two-way-sync between trakt.tv and Plex Media Server"
readme = "README.md"
license = {file = "LICENSE"}
# See: https://pypi.python.org/pypi?:action=list_classifiers
classifiers = [
"Development Status :: 5 - Production/Stable",

# Indicate who your project is intended for
"Environment :: Console",
"Operating System :: OS Independent",

# Pick your license as you wish (see also "license" above)
"License :: OSI Approved :: MIT License",

# List of Python versions and their support status:
# https://en.wikipedia.org/wiki/History_of_Python#Support
# https://endoflife.date/python
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"

[tool.setuptools.dynamic]
version = {attr = "plextraktsync.__version__"}

[project.urls]
Homepage = "https://github.com/Taxel/PlexTraktSync"
Repository = "https://github.com/Taxel/PlexTraktSync.git"
Issues = "https://github.com/Taxel/PlexTraktSync/issues"

[build-system]
requires = [
"setuptools-declarative-requirements>=1.3.0",
Expand Down
28 changes: 0 additions & 28 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
[metadata]
name = PlexTraktSync
version = attr: plextraktsync.__version__
description = Plex-Trakt-Sync is a two-way-sync between trakt.tv and Plex Media Server
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/Taxel/PlexTraktSync
license = MIT
license_file = LICENSE
classifiers =
# See: https://pypi.python.org/pypi?:action=list_classifiers
Environment :: Console
License :: OSI Approved :: MIT License
Operating System :: OS Independent
# List of Python versions and their support status:
# https://en.wikipedia.org/wiki/History_of_Python#Support
# https://endoflife.date/python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
project_urls =
Bug Tracker = https://github.com/Taxel/PlexTraktSync/issues

[options]
packages =
plextraktsync
Expand All @@ -44,7 +17,6 @@ packages =
plextraktsync.trakt
plextraktsync.util
plextraktsync.watch
python_requires = >=3.8
include_package_data = True

[options.packages.find]
Expand Down
Loading