Skip to content

Conversation

@tpetazzoni
Copy link

As reported in issue
#284, the data_files statement in the setup() calls installs the LICENSE file in the wrong place: in /usr/LICENSE, or even /LICENSE depending on the configuration.

So let's drop this, and let setuptools install the LICENSE file automatically: since setuptools v56, the license_files attribute is automatically assigned to a default value, which includes "LICENSE", so there is in fact nothing to do to the get the LICENSE file installed at the correct location. See
https://setuptools.pypa.io/en/latest/history.html#v56-0-0.

As reported in issue xmlrunner#284, the data_files statement in the setup() calls installs the LICENSE file in the wrong place: in /usr/LICENSE, or even /LICENSE depending on the configuration. So let's drop this, and let setuptools install the LICENSE file automatically: since setuptools v56, the license_files attribute is automatically assigned to a default value, which includes "LICENSE", so there is in fact nothing to do to the get the LICENSE file installed at the correct location. See https://setuptools.pypa.io/en/latest/history.html#v56-0-0. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant