Browse Source

Add license_file to setup.cfg metadata (#2024)

Without this, the LICENSE file is never included in the built wheels: this makes it harder for users to comply with the license.
With this addition a file LICENSE.txt will be created in the `xxx.dist-info` directory with the content of the `license_file` file, e.g. the top level LICENSE.
pull/2074/head
Philippe Ombredanne 8 years ago committed by David Lord
parent
commit
11809bf1d2
  1. 3
      setup.cfg

3
setup.cfg

@ -4,5 +4,8 @@ release = egg_info -RDb ''
[wheel] [wheel]
universal = 1 universal = 1
[metadata]
license_file = LICENSE
[tool:pytest] [tool:pytest]
norecursedirs = .* *.egg *.egg-info env* artwork docs examples norecursedirs = .* *.egg *.egg-info env* artwork docs examples

Loading…
Cancel
Save