forked from ncusi/PatchScope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (67 loc) · 2.41 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["setuptools>=62.6"]
build-backend = "setuptools.build_meta"
[project]
name = "diffannotator"
# 'version' is now defined dynamically
description = "Annotate files and lines of diffs (patches) with their purpose and type"
readme = "README.md"
keywords = [
"msr",
"mining-software-repositories",
"code-analysis",
]
authors = [
{name = "Mikołaj Fejzer", email = "[email protected]"},
{name = "Jakub Narębski", email = "[email protected]"},
{name = "Piotr Przymus", email = "[email protected]"},
{name = "Krzysztof Stencel", email = "[email protected]"}
]
maintainers = [
{name = "Mikołaj Fejzer", email = "[email protected]"},
{name = "Jakub Narębski", email = "[email protected]"},
{name = "Piotr Przymus", email = "[email protected]"},
{name = "Krzysztof Stencel", email = "[email protected]"}
]
license = {text = "MIT license"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
]
requires-python = ">= 3.9" # vermin --eval-annotations --backport typing --backport typing_extensions .
dynamic = ["dependencies", "version"]
[project.scripts]
diff-generate = "diffannotator.generate_patches:app"
diff-annotate = "diffannotator.annotate:app"
diff-gather-stats = "diffannotator.gather_data:app"
[project.urls]
bugs = "https://github.com/ncusi/python-diff-annotator/issues"
homepage = "https://github.com/ncusi/python-diff-annotator"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
version = {attr = "diffannotator.config.__version__"}
# Currently, when specifying `optional-dependencies` dynamically, all the
# groups must be specified dynamically; one can not specify some of them
# statically and some of them dynamically.
#
# configuration error: You cannot provide a value for `project.optional-dependencies`
# and list it under `project.dynamic` at the same time
#
# see: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
[project.optional-dependencies]
dev = ["pytest==8.3.3"]
pylinguist = ["linguist@git+https://github.com/retanoj/linguist#egg=master"]
examples = ["dvc==3.56.0"]
web = [
"panel==1.5.4",
"param==2.1.1",
"pandas==2.2.3",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.setuptools.packages.find]
where = ["src"]