Skip to content

Commit 37230c1

Browse files
committed
putting everything in pyproject.toml
1 parent aae4aa6 commit 37230c1

File tree

3 files changed

+79
-7
lines changed

3 files changed

+79
-7
lines changed

.git_archival.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node: $Format:%H$
2+
node-date: $Format:%cI$
3+
describe-name: $Format:%(describe:tags=true)$
4+
ref-names: $Format:%D$

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.git_archival.txt export-subst

pyproject.toml

Lines changed: 74 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,79 @@
11
[build-system]
2-
requires = [
3-
"setuptools>=48",
4-
"setuptools_scm[toml] >= 4, <6",
5-
"setuptools_scm_git_archive",
6-
"wheel >= 0.29.0",
7-
]
2+
requires = ["setuptools>=65.0", "setuptools-scm>=7.0"]
83
build-backend = "setuptools.build_meta"
94

5+
[project]
6+
name = "unmap"
7+
authors = [{ name="Matt Hall", email="kwinkunks@gmail.com" },]
8+
description = "Unmap data from pseudocolor images."
9+
dynamic = ["version"]
10+
requires-python = ">=3.8"
11+
license = {file = "LICENSE"}
12+
keywords = ["plotting", "reproducibility", "visualization", "color"]
13+
readme = "README.md"
14+
classifiers = [
15+
"Intended Audience :: Science/Research",
16+
"Development Status :: 3 - Alpha",
17+
"Natural Language :: English",
18+
"Programming Language :: Python :: 3.8",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"License :: OSI Approved :: Apache Software License",
23+
"Operating System :: OS Independent",
24+
]
25+
dependencies = [
26+
"numpy",
27+
"scipy",
28+
"fsspec",
29+
"aiohttp",
30+
"pillow",
31+
"xarray",
32+
"networkx",
33+
"matplotlib",
34+
"scikit-image",
35+
]
36+
37+
[project.optional-dependencies]
38+
test = [
39+
"pytest",
40+
"coverage[toml]",
41+
"pytest-cov",
42+
]
43+
docs = [
44+
"sphinx",
45+
"sphinxcontrib-apidoc",
46+
"furo",
47+
"myst_nb",
48+
"gio",
49+
]
50+
dev = [
51+
"build",
52+
"pytest",
53+
"coverage[toml]",
54+
"pytest-cov",
55+
"sphinx",
56+
"sphinxcontrib-apidoc",
57+
"furo",
58+
"myst_nb",
59+
"gio",
60+
]
61+
62+
[project.urls]
63+
"documentation" = "https://kwinkunks.github.io/unmap"
64+
"repository" = "https://github.com/kwinkunks/unmap "
65+
66+
[tool.setuptools]
67+
packages = ["unmap"]
68+
1069
[tool.setuptools_scm]
1170
write_to = "unmap/_version.py"
12-
git_describe_command = "git describe --dirty --tags --long --match v* --first-parent"
71+
72+
[tool.pytest.ini_options]
73+
addopts = "--ignore=docs --cov=unmap"
74+
75+
[tool.coverage.run]
76+
omit = [
77+
"unmap/__init__.py",
78+
"unmap/_version.py",
79+
]

0 commit comments

Comments
 (0)