-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (114 loc) · 2.93 KB
/
pyproject.toml
File metadata and controls
130 lines (114 loc) · 2.93 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
119
120
121
122
123
124
125
126
127
128
129
130
[project]
name = "minus80"
dynamic = ["version"]
description = "A library for freezing, unfreezing and storing biological data."
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
keywords = []
authors = [
{ name = "Rob Schaefer", email = "rob@linkage.io" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"aiosqlite>=0.16.1",
"google-cloud >= 0.34.0",
"google-cloud-storage >= 1.17.0",
"google-cloud-kms >= 1.2.1",
"pandas>=3.0.0",
"pyarrow>=23.0.0",
"tinydb>=3.13.0",
"h5py >= 2.9.0",
"termcolor >= 1.1.0",
"pyyaml >= 5.1.2",
"click >= 7.0",
"asyncssh >= 1.17.1",
"aiohttp >= 3.6.1",
"aiofiles >= 0.4.0",
"networkx == 1.11",
"urllib3 >= 1.24.2",
"pyrebase4 >=4.3.0",
"fuzzywuzzy >= 0.17.0",
"python-Levenshtein >= 0.12.0",
"tqdm >= 4.32.2",
"backoff >= 1.8.0",
"apsw >= 3.51.0",
]
[project.optional-dependencies]
# Trying to use "compatible release" version specifiers
# https://packaging.python.org/en/latest/specifications/version-specifiers/#id5
dev = [
"assertpy ~= 1.1",
"autoflake ~= 2.3",
"black ~= 23.1",
"ipdb>=0.13.13",
"isort>=5.10",
"pydocstyle>=6.0",
# test deps
"coverage[toml]>=6.5",
"pytest >= 8.3.5",
"pytest-cov",
"pytest-xprocess>=1.0.2",
"setuptools==80.9.0"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true # allows us using packages with git+ssh URLs
[tool.hatch.envs.default]
path = ".hatch"
features = ["dev"]
# python = "3.12" # Uncomment the following if you want to force python 3.12 for dev (and not automatically go to 3.13)
[project.urls]
Documentation = "https://github.com/LinkageIO/minus80.git"
Issues = "https://github.com/LinkageIO/minus80.git"
Source = "https://github.com/LinkageIO/minus80.git"
[project.scripts]
minus80 = "minus80.cli.minus80:cli"
[tool.hatch.version]
path = "minus80/__about__.py"
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
test-cov = "coverage run -m pytest {args:tests}"
cov-report = [
"- coverage combine",
"coverage report",
]
cov = [
"test-cov",
"cov-report",
]
[[tool.hatch.envs.test.matrix]]
python = ["3.13"]
[tool.hatch.envs.types]
dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:minus80 tests}"
[tool.coverage.run]
source_pkgs = ["minus80", "tests"]
branch = true
parallel = true
omit = [
"minus80/__about__.py",
"tests/*",
]
[tool.coverage.paths]
minus80 = ["minus80"]
tests = ["tests" ]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]