Skip to content

Commit

Permalink
Migrated config to pyproject.toml using jaraco.develop.migrate-config…
Browse files Browse the repository at this point in the history
… and ini2toml.
  • Loading branch information
jaraco committed Apr 18, 2024
1 parent c757323 commit e680f26
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 72 deletions.
77 changes: 76 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,80 @@
[build-system]
requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"

[project]
name = "jaraco.media"
authors = [
{ name = "Jason R. Coombs", email = "[email protected]" },
]
description = "DVD and other multimedia tools"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.8"
dependencies = [
"jaraco.text >= 3.4",
"jaraco.ui",
"jaraco.context",
"jaraco.path >= 3.1",
"jaraco.functools",
"jaraco.itertools >= 6.2",
"httpagentparser",
"more_itertools",
"path",
"inflect",
'importlib_metadata; python_version < "3.8"',
"autocommand",
"tempora",
]
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/jaraco/jaraco.media"

[project.optional-dependencies]
testing = [
# upstream
"pytest >= 6, != 8.1.1",
"pytest-checkdocs >= 2.4",
"pytest-cov",
"pytest-mypy",
"pytest-enabler >= 2.2",
"pytest-ruff >= 0.2.1",

# local
"cherrypy",
"genshi",
"importlib_resources",
]
docs = [
# upstream
"sphinx >= 3.5",
"jaraco.packaging >= 9.3",
"rst.linker >= 1.9",
"furo",
"sphinx-lint",

# local
]

[project.scripts]
encode-dvd = "jaraco.media.dvd:encode_dvd"
rip-subtitles = "jaraco.media.dvd:rip_subtitles"
crop-detect = "jaraco.media.cropdetect:execute"
dvd-info = "jaraco.media.dvd_info:main"
transcode = "jaraco.media.dvd:transcode"
fix-fourcc = "jaraco.media.dvd:fix_fourcc"
serve-index = "jaraco.media.index:serve"
multibrake = "jaraco.media.handbrake:multibrake"
quick-brake = "jaraco.media.handbrake:quick_brake"
mkv-to-mp4 = "jaraco.media.matroska:handle_command_line"
adjust-sub = "jaraco.media.srt:AdjustCommand.run"
update-anydvd = "jaraco.media.dvd:update_anydvd"

[tool.setuptools_scm]
71 changes: 0 additions & 71 deletions setup.cfg

This file was deleted.

0 comments on commit e680f26

Please sign in to comment.