-
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.
- Loading branch information
1 parent
6ec691e
commit 0ba8974
Showing
7 changed files
with
66 additions
and
2,949 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[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", | ||
"sphinx-autodoc-typehints", | ||
"autodoc-pydantic ~= 2.0.0", | ||
"sphinxcontrib-mermaid ~= 0.9.2", | ||
] | ||
|
||
[project.scripts] | ||
yadg = "yadg:run_with_arguments" | ||
|
||
[tool.setuptools-git-versioning] | ||
enabled = true | ||
dev_template = "{tag}.dev{ccount}" | ||
dirty_template = "{tag}.dev{ccount}" | ||
|
||
[tool.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,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,9 @@ | ||
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.