Skip to content

Commit 0ce6f80

Browse files
committed
move all to pyproject.toml
1 parent 54b49f9 commit 0ce6f80

10 files changed

+114
-208
lines changed

MANIFEST.in

+18-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
include *.rst
21
include *.txt
3-
include *.ini
4-
include VERSION
5-
include setup.cfg
6-
recursive-include ioos_qc *.py
2+
include README.md
3+
include pyproject.toml
4+
5+
graft ioos_qc
6+
7+
prune .github
8+
prune *.egg-info
9+
prune docs
10+
prune resources
11+
prune tests
12+
13+
exclude *.nc
14+
exclude *.yml
15+
exclude .coveragerc
16+
exclude .gitignore
17+
exclude .pre-commit-config.yaml
18+
exclude ioos_qc/_version.py
19+
exclude ruff.toml

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# IOOS QC
2+
3+
[![conda_forge_package](https://anaconda.org/conda-forge/ioos_qc/badges/version.svg)](https://anaconda.org/conda-forge/ioos_qc)
4+
[![Default-Tests](https://github.com/ioos/ioos_qc/actions/workflows/tests.yml/badge.svg)](https://github.com/ioos/ioos_qc/actions/workflows/tests.yml)
5+
6+
Collection of utilities, scripts and tests to assist in automated
7+
quality assurance and quality control for oceanographic datasets and
8+
observing systems.
9+
10+
[Code](https://github.com/ioos/ioos_qc) \|
11+
[Issues](https://github.com/ioos/ioos_qc/issues) \|
12+
[Documentation](https://ioos.github.io/ioos_qc/)

README.rst

-18
This file was deleted.

VERSION

-1
This file was deleted.

conda-recipe/meta.yaml

-42
This file was deleted.

modd.conf

-23
This file was deleted.

pyproject.toml

+84-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,86 @@
11
[build-system]
2-
requires = ["setuptools>=41.2", "setuptools_scm", "wheel"]
32
build-backend = "setuptools.build_meta"
3+
requires = [
4+
"setuptools>=42",
5+
"setuptools-scm",
6+
"wheel",
7+
]
8+
9+
[project]
10+
name = "ioos_qc"
11+
description = "IOOS QARTOD and Quality Control tests implemented in Python"
12+
readme = "README.md"
13+
license = { file = "LICENSE.txt" }
14+
maintainers = [
15+
{ name = "Kyle Wilcox", email = "[email protected]" },
16+
{ name = "Filipe Fernandes", email = "[email protected]" },
17+
]
18+
requires-python = ">=3.8"
19+
classifiers = [
20+
"Programming Language :: Python :: 3 :: Only",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
]
27+
dynamic = [
28+
"dependencies",
29+
"version",
30+
]
31+
urls.documentation = "https://ioos.github.io/ioos_qc"
32+
urls.homepage = "https://github.com/ioos/ioos_qc"
33+
urls.repository = "https://github.com/ioos/ioos_qc"
34+
35+
[project.optional-dependencies]
36+
test = ["dask", "pytest"]
37+
extras = ["bokeh", "nco", "numba"]
38+
39+
[tool.setuptools]
40+
packages = [
41+
"ioos_qc",
42+
]
43+
include-package-data = true
44+
45+
[tool.setuptools.dynamic]
46+
dependencies = { file = [
47+
"requirements.txt",
48+
] }
49+
50+
[tool.setuptools_scm]
51+
write_to = "ioos_qc/_version.py"
52+
write_to_template = "__version__ = '{version}'"
53+
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"
54+
55+
[tool.check-manifest]
56+
ignore = [
57+
"*.yml",
58+
".coveragerc",
59+
"docs",
60+
"docs/*",
61+
"tests",
62+
"tests/*",
63+
]
64+
65+
[tool.pytest.ini_options]
66+
filterwarnings = [
67+
"error:::ioos_qc.*",
68+
"ignore::UserWarning",
69+
"ignore::RuntimeWarning",
70+
]
71+
72+
[tool.interrogate]
73+
ignore-init-method = true
74+
ignore-init-module = false
75+
ignore-magic = false
76+
ignore-semiprivate = false
77+
ignore-private = false
78+
ignore-module = false
79+
fail-under = 85
80+
exclude = [
81+
"docs",
82+
"tests",
83+
]
84+
verbose = 1
85+
quiet = false
86+
color = true

release.sh

-25
This file was deleted.

setup.cfg

-83
This file was deleted.

setup.py

-10
This file was deleted.

0 commit comments

Comments
 (0)