Standardise on license_files, omit when possible?
See original GitHub issueAbout:
adds
license_file
/license
/ license classifier ifLICENSE
exists
Newly released Setuptools 56.0.0 (changelog, docs, PR, issue) has deprecated license_file
, and license_files
should be used instead.
Further, if license_files
is omitted, it defaults to LICEN[CS]E*
, COPYING*
, NOTICE*
, AUTHORS*
, matching the behaviour of bdist_wheel
.
To simplify a project’s config, I removed license_file = LICENCE
from a project’s setup.cfg
, but then setup-cfg-fmt put it back 😃
Should setup-cfg-fmt standardise license_file
-> license_files
?
And, if the value matches the glob pattern, should setup-cfg-fmt omit it completely?
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Managing Licenses and Amendments
Electronic resources usually have licenses. You can manage these licenses, select license terms, and add any license amendments.
Read more >Frequently Asked Questions - REUSE.software
There is one exception: License files are automatically excluded from compliance testing. If you have an entire directory that you want to “exclude”...
Read more >R Packages (2e) - 13 Licensing
The most common case is MIT + file LICENSE , where the LICENSE file needs to contain two fields: the year and copyright...
Read more >SPDX License List | Software Package Data Exchange (SPDX)
Full name Identifier OSI Approved?
BSD Zero Clause License 0BSD Y
Attribution Assurance License AAL Y
Abstyles License Abstyles
Read more >About CC Licenses - Creative Commons
Creative Commons licenses give everyone from individual creators to large institutions a standardized way to grant the public permission to use their creative ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I understand that the glob thing is too new to implement right now but regarding the other request : There’s a replacement for the deprecated option, isn’t using
license_files
instead doable right now ?license_files
has been supported in setuptools since november 2019 (in 42.0.0 https://github.com/pypa/setuptools/pull/1767) andlicense_file
has been deprecated inwheel
for more than 2 years. https://github.com/pypa/wheel/commit/59976ab294e1b118f42cab404d95df66ed55f7e4.Thanks, CentOS 7’s version of virtualenv is 15.1.0, older than the existing requirement.
List of distros/repos whose latest version of virtualenv is older than 15.2
1.5.1: slitaz_next 1.7.1.2: trisquel_6_0 1.10.1: rosa_server_7_3 1.11.4: trisquel_7_0 1.11.4: ubuntu_14_04 1.11.6: debian_8 1.11.6: devuan_1_0 12.0.7: epel_6 13.1.2: opensuse_leap_42_3 13.1.2: rosa_2014_1 15.0.1: trisquel_8_0 15.0.1: ubuntu_16_04 15.1.0: scientific_7x 15.1.0: almalinux_8 15.1.0: alpine_3_8 15.1.0: alpine_3_9 15.1.0: amazon_1 15.1.0: amazon_2 15.1.0: apertis_v2020 15.1.0: apertis_v2021 15.1.0: astra_stable 15.1.0: centos_7 15.1.0: centos_8 15.1.0: centos_stream_8 15.1.0: debian_9 15.1.0: debian_10 15.1.0: deepin_unstable 15.1.0: devuan_2_0 15.1.0: devuan_3_0 15.1.0: epel_7 15.1.0: eurolinux_8 15.1.0: fedora_26 15.1.0: opensuse_leap_15_0 15.1.0: pardus_17 15.1.0: pardus_19 15.1.0: pureos_amber 15.1.0: raspbian_oldstable 15.1.0: rocky_8 15.1.0: rosa_server_7_5 15.1.0: slackbuilds 15.1.0: trisquel_9_0 15.1.0: ubi_8 15.1.0: ubuntu_18_04