aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-pdfminer.six/files/patch-pyproject.toml
blob: 1e48727c61060b32aecd98451377e689d6b7b961 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* 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]