1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2025-12-18 13:10:17 +01:00

Add pyproject.toml

This commit is contained in:
Michał Zagórski
2025-03-11 01:04:17 +01:00
parent d37850520b
commit 0faa2c0758
2 changed files with 54 additions and 1 deletions

53
pyproject.toml Normal file
View File

@@ -0,0 +1,53 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ebook-converter"
version = "4.12.0"
requires-python = ">= 3.10"
description = "Convert ebook between different formats"
dependencies = [
"filelock",
"python-dateutil",
"lxml",
"css-parser",
"beautifulsoup4",
"tinycss",
"pillow",
"msgpack",
"html5-parser",
"odfpy",
"html2text"
]
readme = "README.rst"
authors = [
{name = "gryf", email = "gryf73@gmail.com"}
]
license = {text = "GPLv3"}
classifiers = [
"Environment :: Console",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
[project.urls]
Repository = "https://github.com/gryf/ebook-converter"
[project.scripts]
ebook-converter = "ebook_converter.main:main"
[tool.setuptools.packages.find]
exclude = ["snap"]
[tool.setuptools.package-data]
"*" = ["*.types", "*.css", "*.html", "*.xhtml", "*.xsl", "*.json"]

View File

@@ -43,4 +43,4 @@ console_scripts =
ebook-converter=ebook_converter.main:main
[options.package_data]
* = *.types *.css, *.html, *.xsl
* = *.types, *.css, *.html, *.xsl