Skip to content

Commit

Permalink
Switch to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Jul 29, 2024
1 parent 32f7a4c commit 5a0ddd8
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 76 deletions.
54 changes: 54 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[project]
name = "pyonfx"
description = "An easy way to create KFX (Karaoke Effects) and complex typesetting using the ASS format (Advanced Substation Alpha)."
authors = [
{ name = "Antonio Strippoli", email = "[email protected]" },
]
license = { text = "GNU LGPL 3.0 or later" }
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"decord",
"pyquaternion",
"pywin32; platform_system=='Windows'",
"pycairo; platform_system=='Linux' or platform_system=='Darwin'",
"PyGObject; platform_system=='Linux' or platform_system=='Darwin'",
]
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
]
dynamic = ["version"]
keywords = ["typesetting", "ass", "subtitle", "aegisub", "karaoke", "kfx", "advanced-substation-alpha", "karaoke-effect"]

[project.urls]
Documentation = "https://pyonfx.rtfd.io/"
Source = "https://github.com/CoffeeStraw/PyonFX/"
Tracker = "https://github.com/CoffeeStraw/PyonFX/issues/"

[project.optional-dependencies]
dev = [
"black",
"pytest",
"pytest-check",
"sphinx_panels",
"sphinx_rtd_theme",
"sphinxcontrib-napoleon",
]

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

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

[tool.setuptools.packages.find]
include = ["pyonfx*"]
76 changes: 0 additions & 76 deletions setup.py

This file was deleted.

0 comments on commit 5a0ddd8

Please sign in to comment.