Skip to content

Commit 4ff10d4

Browse files
committed
Try to fix unrecognized or malformed field 'license-file'
1 parent a00cbf3 commit 4ff10d4

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright (c) 2025
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
THE SOFTWARE SHALL NOT BE USED FOR MILITARY PURPOSES, INCLUDING BUT NOT LIMITED TO THE DEVELOPMENT, DESIGN, MANUFACTURE, OR PRODUCTION OF WEAPONS OR MILITARY SYSTEMS.
11+
12+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
SOFTWARE.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[build-system]
22
requires = ["setuptools>=61.0"]
33
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools]
6+
license-files = ["LICENSE"]

PrjBarlib/modules/python/BarcodeProject/setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@
99
url="https://github.com/Noremos/Barcode",
1010
long_description=open("README.md").read(),
1111
long_description_content_type="text/markdown",
12-
license="MIT",
12+
license=open("LICENSE").read(),
1313
classifiers=[
1414
"Programming Language :: Python :: 3.13",
15+
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.11",
1517
"Operating System :: OS Independent",
1618
"Operating System :: Microsoft :: Windows",
1719
"Operating System :: POSIX :: Linux",
1820
"Operating System :: MacOS",
1921
],
2022
packages=find_packages(),
2123
include_package_data=True,
22-
python_requires="==3.13",
24+
python_requires=">=3.11",
2325
install_requires=[
2426
"numpy",
2527
"matplotlib",

0 commit comments

Comments
 (0)