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 Aug 3, 2024
1 parent 101797c commit 19f15b9
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 76 deletions.
53 changes: 53 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[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.9"
dependencies = [
"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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"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 19f15b9

Please sign in to comment.