Skip to content

Commit

Permalink
Merge pull request #118 from ocefpaf/move_pyproject.toml
Browse files Browse the repository at this point in the history
move all to pyproject.toml
  • Loading branch information
ocefpaf authored Jun 18, 2024
2 parents 54b49f9 + 2b2eb5e commit c093ba3
Show file tree
Hide file tree
Showing 10 changed files with 107 additions and 208 deletions.
23 changes: 18 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
include *.rst
include *.txt
include *.ini
include VERSION
include setup.cfg
recursive-include ioos_qc *.py
include README.md
include pyproject.toml

graft ioos_qc

prune .github
prune *.egg-info
prune docs
prune resources
prune tests

exclude *.nc
exclude *.yml
exclude .coveragerc
exclude .gitignore
exclude .pre-commit-config.yaml
exclude ioos_qc/_version.py
exclude ruff.toml
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# IOOS QC

[![conda_forge_package](https://anaconda.org/conda-forge/ioos_qc/badges/version.svg)](https://anaconda.org/conda-forge/ioos_qc)
[![Default-Tests](https://github.com/ioos/ioos_qc/actions/workflows/tests.yml/badge.svg)](https://github.com/ioos/ioos_qc/actions/workflows/tests.yml)

Collection of utilities, scripts and tests to assist in automated
quality assurance and quality control for oceanographic datasets and
observing systems.

[Code](https://github.com/ioos/ioos_qc) \|
[Issues](https://github.com/ioos/ioos_qc/issues) \|
[Documentation](https://ioos.github.io/ioos_qc/)
18 changes: 0 additions & 18 deletions README.rst

This file was deleted.

1 change: 0 additions & 1 deletion VERSION

This file was deleted.

42 changes: 0 additions & 42 deletions conda-recipe/meta.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions modd.conf

This file was deleted.

78 changes: 77 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,79 @@
[build-system]
requires = ["setuptools>=41.2", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=42",
"setuptools-scm",
"wheel",
]

[project]
name = "ioos_qc"
description = "IOOS QARTOD and Quality Control tests implemented in Python"
readme = "README.md"
license = { file = "LICENSE.txt" }
maintainers = [
{ name = "Kyle Wilcox", email = "kyle@axds.co" },
{ name = "Filipe Fernandes", email = "ocefpaf+ioos_qc@gmail.com" },
]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = [
"dependencies",
"version",
]
urls.documentation = "https://ioos.github.io/ioos_qc"
urls.homepage = "https://github.com/ioos/ioos_qc"
urls.repository = "https://github.com/ioos/ioos_qc"

[project.optional-dependencies]
test = ["dask", "pytest"]
extras = ["bokeh", "nco", "numba"]

[tool.setuptools]
packages = [
"ioos_qc",
]
include-package-data = true

[tool.setuptools.dynamic]
dependencies = { file = [
"requirements.txt",
] }

[tool.setuptools_scm]
write_to = "ioos_qc/_version.py"
write_to_template = "__version__ = '{version}'"
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"

[tool.check-manifest]
ignore = [
"*.yml",
".coveragerc",
"docs",
"docs/*",
"tests",
"tests/*",
]

[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-module = false
fail-under = 85
exclude = [
"docs",
"tests",
]
verbose = 1
quiet = false
color = true
25 changes: 0 additions & 25 deletions release.sh

This file was deleted.

83 changes: 0 additions & 83 deletions setup.cfg

This file was deleted.

10 changes: 0 additions & 10 deletions setup.py

This file was deleted.

0 comments on commit c093ba3

Please sign in to comment.