-
Notifications
You must be signed in to change notification settings - Fork 17
/
MANIFEST.in
26 lines (20 loc) · 1.21 KB
/
MANIFEST.in
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
# SPDX-FileCopyrightText: 2024 geisserml <geisserml@gmail.com>
# SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
# 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 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
recursive-include setupsrc *.py
recursive-include sourcebuild/patches *
include autorelease/record.json
# By design, the raw module only ships data files - exclude them by default
recursive-exclude src/pypdfium_raw *
include src/pypdfium2_raw/__init__.py
# Include all of licenses in an sdist (also wheel licenses), since we may build a wheel from the sdist
recursive-include LICENSES/ *
include .reuse/dep5
include .reuse/dep5-wheel
# PyPA eagerly includes tests - exclude because we don't use them
recursive-exclude tests *