-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
128 lines (117 loc) · 2.87 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = [
"hatchling>=1.3.1",
"jupyterlab>=3",
]
build-backend = "hatchling.build"
[project]
name = "monomoy"
description = "A Custom Jupyter Widget Library"
readme = "README.md"
license = { file = "LICENSE.txt" }
requires-python = ">=3.7"
authors = [
{ name = "Daniel Kerrigan", email = "kerrigan.d@northeastern.edu" },
]
keywords = [
"IPython",
"Jupyter",
"Widgets",
]
classifiers = [
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"ipywidgets>=7.6.0,<9",
"pandas>=1.3.5",
"numpy>=1.21.5",
"joblib>=1.1.0",
"scikit-learn>=1.0.2",
"tqdm>=4.64.1",
]
version = "0.1.0"
[project.optional-dependencies]
docs = [
"jupyter_sphinx",
"nbsphinx",
"nbsphinx-link",
"pypandoc",
"pytest_check_links",
"recommonmark",
"sphinx>=1.5",
"sphinx_rtd_theme",
]
examples = [
"xgboost",
]
test = [
"pytest-cov",
"pytest>=6.0",
]
dev = [
"pylint",
"black",
]
eda =[
"altair",
"matplotlib",
"pdpilot",
]
[project.urls]
Homepage = "https://github.com/DanielKerrigan/monomoy"
[tool.hatch.build]
artifacts = [
"monomoy/nbextension/index.*",
"monomoy/labextension/*.tgz",
"monomoy/labextension",
]
[tool.hatch.build.targets.wheel.shared-data]
"monomoy/nbextension" = "share/jupyter/nbextensions/monomoy"
"monomoy/labextension" = "share/jupyter/labextensions/monomoy"
"./install.json" = "share/jupyter/labextensions/monomoy/install.json"
"./monomoy.json" = "etc/jupyter/nbconfig/notebook.d/monomoy.json"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"monomoy/nbextension/index.js",
"monomoy/labextension/package.json",
]
skip-if-exists = [
"monomoy/nbextension/index.js",
"monomoy/labextension/package.json",
]
dependencies = [
"hatch-jupyter-builder>=0.5.0",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "."
build_cmd = "build:prod"
npm = ["npm"]
[tool.tbump]
field = [
{ name = "channel", default = "" },
{ name = "release", default = "" },
]
file = [
{ src = "pyproject.toml", version_template = "version = \"{major}.{minor}.{patch}{channel}{release}\"" },
{ src = "monomoy/_version.py" },
]
[tool.tbump.version]
current = "0.1.0"
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"