-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
104 lines (96 loc) · 2.98 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["setuptools>=62.6"]
build-backend = "setuptools.build_meta"
[project]
name = "patchscope"
# '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/PatchScope/issues"
homepage = "https://github.com/ncusi/PatchScope"
[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.4",
]
doc = [
"mkdocs~=1.6.1",
"mkdocs-include-markdown-plugin~=7.1.2",
#"mkdocs-autorefs~=1.2.0",
"mkdocstrings[python]~=0.27.0",
"mkdocs-gen-files~=0.5.0",
"mkdocs-literate-nav~=0.6.1",
"mkdocs-section-index~=0.3.9",
"mkdocs-typer~=0.0.3",
"mkdocs-material~=9.5.48",
#"mike~=1.1.2",
#"setuptools~=68.0",
#"pkginfo~=1.9",
#"virtualenv~=20.0",
"black~=24.10.0",
]
pylinguist = [
"linguist@git+https://github.com/retanoj/linguist#egg=master",
]
examples = [
"dvc[s3]==3.58.0",
] # dvc-s3 is needed to access 'dagshub' dvc remote
web = [
"panel==1.5.4",
"param==2.1.1",
# data processing
"pandas==2.2.3",
"python-dateutil==2.9.0.post0",
# plots
"holoviews==1.20.0",
"hvplot==0.11.1",
"matplotlib==3.10.0",
"seaborn==0.13.2",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.setuptools.packages.find]
where = ["src"]