Skip to content

Include more than one license file or other arbitrary files in metadata #138

@agronholm

Description

@agronholm

Originally reported by: pombredanne NA (Bitbucket: pombredanne, GitHub: pombredanne)


With #47 it is now possible to get a SINGLE license file included in a built wheel by using setup.cfg

[metadata]
license_file = <some file>

This is however a severe limitation: this works for very simple licenses... but even for common license such as the Apache-2.0, you cannot include both the license file and the NOTICE file.
Beyond this, there could be other metafiles you want to include in a built wheel.
If they are not package-data, you could use data_files, but they will be installed in some generally unpleasant location.

We should generalize the notion of license-file to include more than one and include arbitrary files defined in a setup.cfg as metafiles.


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions