* Switch to the PEP517 build framework and convert the previous patch for "setup.py" accordingly for "pyproject.toml". Changelog since 20240706: https://github.com/pdfminer/pdfminer.six/blob/20250327/CHANGELOG.md
28 lines
706 B
TOML
28 lines
706 B
TOML
* Omit "license" keyword for now to be able to build with older py-setuptools.
|
|
|
|
* Provide the console scripts without their ".py" extension.
|
|
|
|
See also: https://github.com/pdfminer/pdfminer.six/issues/724
|
|
|
|
--- pyproject.toml.orig 2025-04-05 16:54:46 UTC
|
|
+++ pyproject.toml
|
|
@@ -7,7 +7,6 @@ readme = "README.md"
|
|
dynamic = ["version"]
|
|
description = "PDF parser and analyzer"
|
|
readme = "README.md"
|
|
-license = "MIT"
|
|
requires-python = ">=3.9"
|
|
authors = [
|
|
{ name = "Yusuke Shinyama" },
|
|
@@ -63,8 +62,8 @@ script-files = [
|
|
[tool.setuptools]
|
|
packages = ["pdfminer"]
|
|
script-files = [
|
|
- "tools/pdf2txt.py",
|
|
- "tools/dumppdf.py",
|
|
+ "tools/pdf2txt",
|
|
+ "tools/dumppdf",
|
|
]
|
|
|
|
[tool.setuptools_scm]
|