Skip to content

Commit

Permalink
slightly polish manifest / setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Jan 10, 2024
1 parent ebc8715 commit af5216b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# MANIFEST.in defines the files to include in an sdist. sdists are also the starting point for wheels.
# Additional files may be included using setuptools (e.g. package_data, license_files)

# We want this to be as narraw as possible, i.e. only the bare minimum of files needed for installation.
# Note: If setuptools-scm is installed, it will include all files checked into version control, and as of this writing, it is not possible to opt out (setuptools_scm/issues/190)
# We want this to be a tight ruleset, i.e. only include the minimum of files we actually need for packaging/installation.
# Note: If setuptools-scm is installed, it will include all files checked into version control, and as of this writing, it is not possible to opt out: https://github.com/pypa/setuptools_scm/issues/190

# Include library and setup sources
recursive-include src/pypdfium2 *.py
Expand Down
10 changes: 4 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@

# NOTE We have to use setup.cfg rather than pyproject.toml to declare static metadata because the latter does not permit a dynamic project name.

# NOTE We use requirements files instead of [options.extras_require]. Rationale:
# - BUG(177): PyPI refuses upload if custom deps ($DEP @ git+$URL) are specified.
# - Installation is independent of pypdfium2 (allows to install setup deps beforehand and then use --no-build-isolation).

[metadata]
long_description = file: README.md
long_description_content_type = text/markdown
author = pypdfium2-team
author_email = [email protected]
url = https://github.com/pypdfium2-team/pypdfium2
project_urls =
# TODO review/improve
Source = https://github.com/pypdfium2-team/pypdfium2
Tracker = https://github.com/pypdfium2-team/pypdfium2/issues
Documentation = https://pypdfium2.readthedocs.io
Changelog = https://pypdfium2.readthedocs.io/en/stable/changelog.html
keywords = pdf, pdfium
classifiers =
# TODO review/improve
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: Information Technology
Expand All @@ -26,7 +28,3 @@ classifiers =
Programming Language :: Python :: Implementation :: CPython
Topic :: Multimedia :: Graphics
Topic :: Software Development :: Libraries

# NOTE We use requirements files instead of [options.extras_require]. Rationale:
# - BUG(177): PyPI refuses upload if custom deps ($DEP @ git+$URL) are specified.
# - Installation is independent of pypdfium2 (allows to install setup deps beforehand and then use --no-build-isolation).

0 comments on commit af5216b

Please sign in to comment.