Skip to content

Include NOTICE.txt in wheels #2186

@stefan6419846

Description

@stefan6419846

Is your feature request related to a problem? Please describe.
The source files currently refer to the NOTICE.txt file inside the repository:

# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt
This file is not shipped inside wheels.

Describe the solution you'd like
Ship the NOTICE.txt file as part of the licenses directory of the package metadata inside the wheels as well.

Describe alternatives you've considered
Modifying the wheels myself and/or providing the files as part of compliance documents.

Additional context
The Apache-2.0 license actually has a distribution conditions regarding NOTICE files, although this mostly affects "real" derivatives of the source code according to section 1 of the license:

coveragepy/LICENSE.txt

Lines 107 to 122 in 58b3639

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions