-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (53 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
60 lines (53 loc) · 1.8 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
[build-system]
# Specifies the build tools needed to create the package.
# While newer versions exist, this provides broad compatibility for builders.
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "croissant-maker"
version = "0.0.1"
description = "A tool to automatically generate Croissant metadata for datasets."
readme = "README.md"
# Requires Python 3.10 or newer.
# Chosen as a balance between modern features (used by dependencies like Typer)
# and allowing users on slightly older, but still supported, Python versions.
# Avoids forcing users onto the absolute latest version (3.13+).
requires-python = ">=3.10"
authors = [
{ name="Rafi Al Attrach", email="rafiaa@mit.edu" },
{ name="Tom Pollard", email="tpollard@mit.edu" },
]
# Core runtime dependencies needed for the tool to function.
# Note: pandas is not a direct dependency — it is available transitively via wfdb.
dependencies = [
"typer >= 0.9.0",
"mlcroissant >= 1.0.20",
"rich >= 13.0.0",
"wfdb >= 4.0.0",
"pyarrow >= 15.0.0",
"Pillow >= 11.0.0",
"tifffile >= 2024.1.0",
]
# Optional dependencies, installed via `pip install '.[test]'`
[project.optional-dependencies]
# Dependencies needed only for running the test suite.
test = [
# Test runner framework.
"pytest >= 7.0",
]
# Optional dependencies for development and testing.
dev = [
"ruff >= 0.1.0",
"pre-commit >= 3.0.0"
]
# Console script entry points - makes 'croissant-maker' command available
[project.scripts]
croissant-maker = "croissant_maker.__main__:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.pytest.ini_options]
testpaths = ["tests"]
# Suppress rdflib warning from mlcroissant (external dependency)
filterwarnings = ["ignore::DeprecationWarning:rdflib.*"]