-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move to pyproject * Fix build workflow? * Replace wheel with build * black * Fix docs? * Forgot the mermaids * More metadata is more better.
- Loading branch information
1 parent
6ec691e
commit 5b02614
Showing
9 changed files
with
69 additions
and
2,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
[build-system] | ||
requires = ["setuptools >= 61.0", "setuptools-git-versioning"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
dynamic = ["version"] | ||
name = "yadg" | ||
authors = [ | ||
{name = "Peter Kraus", email = "[email protected]"}, | ||
{name = "Nicolas Vetsch"}, | ||
] | ||
maintainers = [ | ||
{name = "Peter Kraus", email = "[email protected]"}, | ||
] | ||
description = "yet another datagram" | ||
readme = "README.md" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Operating System :: OS Independent", | ||
] | ||
requires-python = ">= 3.9" | ||
dependencies = [ | ||
"numpy", | ||
"scipy", | ||
"pint >= 0.22", | ||
"pyyaml", | ||
"uncertainties", | ||
"striprtf", | ||
"tzlocal", | ||
"packaging", | ||
"python-dateutil", | ||
"openpyxl >= 3.0.0", | ||
"h5netcdf ~= 1.0", | ||
"xarray-datatree ~= 0.0.12", | ||
"dgbowl-schemas @ git+https://github.com/dgbowl/dgbowl-schemas.git@dataschema_5.1", | ||
"requests", | ||
] | ||
|
||
[project.optional-dependencies] | ||
testing = ["pytest"] | ||
docs = [ | ||
"sphinx ~= 7.2", | ||
"sphinx-rtd-theme ~= 1.3.0", | ||
"autodoc-pydantic ~= 2.1.0", | ||
] | ||
|
||
[project.urls] | ||
Documentation = "https://dgbowl.github.io/yadg/master" | ||
Issues = "https://github.com/dgbowl/yadg/issues" | ||
Repository = "https://github.com/dgbowl/yadg/" | ||
|
||
[project.scripts] | ||
yadg = "yadg:run_with_arguments" | ||
|
||
[tool.setuptools-git-versioning] | ||
enabled = true | ||
dev_template = "{tag}.dev{ccount}" | ||
dirty_template = "{tag}.dev{ccount}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
[versioneer] | ||
VCS = git | ||
style = pep440-pre | ||
versionfile_source = src/yadg/_version.py | ||
versionfile_build = yadg/_version.py | ||
tag_prefix = | ||
parentdir_prefix = yadg- | ||
|
||
[flake8] | ||
max-line-length = 88 | ||
extend-ignore = E203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import sys | ||
from importlib.metadata import version | ||
from .main import run_with_arguments | ||
from . import _version | ||
|
||
__all__ = ["run_with_arguments"] | ||
__version__ = _version.get_versions()["version"] | ||
__version__ = version("yadg") | ||
|
||
sys.path += sys.modules["yadg"].__path__ |
Oops, something went wrong.