-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (110 loc) · 3.49 KB
/
pyproject.toml
File metadata and controls
118 lines (110 loc) · 3.49 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[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 = "Jakub Narębski", email = "jnareb@mat.umk.pl"},
{name = "Mikołaj Fejzer", email = "mfejzer@mat.umk.pl"},
{name = "Piotr Przymus", email = "piotr.przymus@mat.umk.pl"},
{name = "Krzysztof Stencel", email = "stencel@mimuw.edu.pl"}
]
maintainers = [
{name = "Jakub Narębski", email = "jnareb@mat.umk.pl"},
{name = "Mikołaj Fejzer", email = "mfejzer@mat.umk.pl"},
{name = "Piotr Przymus", email = "piotr.przymus@mat.umk.pl"},
{name = "Krzysztof Stencel", email = "stencel@mimuw.edu.pl"}
]
license = {text = "MIT license"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"Topic :: Software Development",
]
# panel-mermaid requires Python 3.11
requires-python = ">= 3.11" # 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"
diffinsights-web = "diffinsights_web.main:app"
[project.urls]
repository = "https://github.com/ncusi/PatchScope"
issues = "https://github.com/ncusi/PatchScope/issues"
documentation = "https://ncusi.github.io/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==9.0.2", # includes 'subtests' since version 9.0.0
"pytest-benchmark==5.2.3",
"pytest-clarity==1.0.1",
"psutil==7.1.3",
]
doc = [
"mkdocs~=1.6.1",
"mkdocs-include-markdown-plugin~=7.2.0",
#"mkdocs-autorefs~=1.2.0",
"mkdocstrings[python]~=0.30.1",
"mkdocs-gen-files~=0.5.0",
"mkdocs-literate-nav~=0.6.1",
"mkdocs-section-index~=0.3.9",
"mkdocs-typer2~=0.1.4",
"mkdocs-material~=9.6.23",
"mkdocs-jupyter~=0.25.1",
#"mike~=1.1.2",
#"setuptools~=68.0",
#"pkginfo~=1.9",
#"virtualenv~=20.0",
"black~=25.12.0",
]
pylinguist = [
"linguist@git+https://github.com/retanoj/linguist#egg=master",
]
examples = [
"dvc[s3]==3.63.0",
] # dvc-s3 is needed to access 'dagshub' dvc remote
web = [
"panel==1.8.4",
"param==2.2.1",
# data processing
"pandas==2.3.3",
"python-dateutil==2.9.0.post0",
# data serialization
"pyarrow==22.0.0",
# plots
"holoviews==1.22.1",
"hvplot==0.12.1",
"matplotlib==3.10.7",
"seaborn==0.13.2",
"panel-mermaid==0.2.1",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.setuptools.packages.find]
where = ["src"]