-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
59 lines (54 loc) · 1.72 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[project]
name = "license_scanner"
dynamic = ["version"]
dependencies = ["setuptools>=62", "tomli>=1.1.0; python_version < '3.11'"]
readme = "README.md"
keywords = ["license", "scanner", "checker"]
license = { text = "MIT" }
requires-python = ">=3.8"
authors = [{ name = "Tom Nijhof", email = "[email protected]" }]
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
]
[tool.hatch.build.targets.wheel]
only-include = ["src"]
sources = ["src"]
[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
[tool.license_scanner]
allowed-licenses = [
"MIT",
"apache software license",
"apache software license v2",
"apache software license v3",
"BSD license",
"BSD 3-clause license",
"BSD 2-clause license",
"BSD 0-clause license",
'GNU lesser general public license',
'GNU lesser general public license v2',
'GNU lesser general public license v3',
'Python software foundation license',
'Mozilla public license 2.0 (mpl 2.0)',
"ISC license",
'mozilla',
]
allowed-packages = ["license_scanner"]
[project.scripts]
license_scanner = "license_scanner.cli:main"
[tool.hatch.version]
path = "src/license_scanner/__init__.py"