Skip to content

Commit 3189c4d

Browse files
authored
MAINT: Remove dead configuration from setup.cfg (py-pdf#2040)
Now that we use `flit` for building the packages, we have the `pyproject.toml` as the ground truth (see py-pdf#1382). This PR removes the duplicated data from the `setup.cfg` to avoid confusion. Only the name of the license is additionally added to the docs to simplify peoples lives.
1 parent 29a29fe commit 3189c4d

File tree

2 files changed

+4
-49
lines changed

2 files changed

+4
-49
lines changed

docs/meta/faq.md

+4
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ In BibTeX format:
5353
note = {See https://pypdf.readthedocs.io/en/latest/meta/CONTRIBUTORS.html for all contributors}
5454
}
5555
```
56+
57+
## Which License does pypdf use?
58+
59+
`pypdf` uses the [BSD-3-Clause license](https://en.wikipedia.org/wiki/BSD_licenses#3-clause), see the LICENSE file.

setup.cfg

-49
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,3 @@
1-
[metadata]
2-
name = pypdf
3-
4-
author = Mathieu Fenniak
5-
author_email = biziqe@mathieu.fenniak.net
6-
maintainer = Martin Thoma
7-
maintainer_email = info@martin-thoma.de
8-
9-
description = A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
10-
long_description = file: README.md
11-
long_description_content_type = text/markdown
12-
13-
license = BSD-3-Clause
14-
15-
url = https://pypdf.readthedocs.io/en/latest/
16-
project_urls =
17-
Source = https://github.com/py-pdf/pypdf
18-
Bug Reports = https://github.com/py-pdf/pypdf/issues
19-
Changelog = https://pypdf.readthedocs.io/en/latest/meta/CHANGELOG.html
20-
classifiers =
21-
Development Status :: 5 - Production/Stable
22-
Intended Audience :: Developers
23-
License :: OSI Approved :: BSD License
24-
Programming Language :: Python :: 3
25-
Programming Language :: Python :: 3.6
26-
Programming Language :: Python :: 3.7
27-
Programming Language :: Python :: 3.8
28-
Programming Language :: Python :: 3.9
29-
Programming Language :: Python :: 3.10
30-
Programming Language :: Python :: 3.11
31-
Operating System :: OS Independent
32-
Topic :: Software Development :: Libraries :: Python Modules
33-
Typing :: Typed
34-
35-
[options]
36-
packages =
37-
pypdf
38-
pypdf._codecs
39-
pypdf.generic
40-
python_requires = >=3.6
41-
install_requires =
42-
typing_extensions >= 3.10.0.0; python_version < '3.10'
43-
dataclasses; python_version < '3.7'
44-
45-
[options.extras_require]
46-
full = PyCryptodome; Pillow
47-
crypto = PyCryptodome
48-
image = Pillow
49-
501
[mutmut]
512
backup = False
523
runner = ./mutmut-test.sh

0 commit comments

Comments
 (0)