Skip to content

Commit

Permalink
Merge pull request #2045 from glensc/migrate-to-pyproject.toml
Browse files Browse the repository at this point in the history
Refactor: Move project metadata to pyproject.yaml
  • Loading branch information
glensc authored Sep 1, 2024
2 parents c89e574 + 12fbcc2 commit cbb398b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 28 deletions.
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

0 comments on commit cbb398b

Please sign in to comment.