Skip to content

Commit

Permalink
Merge branch 'master' into fix_coords_error_message
Browse files Browse the repository at this point in the history
  • Loading branch information
JoranAngevaare committed Aug 16, 2023
2 parents 8909334 + 64869aa commit 9f925d6
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.2.1
files = setup.py optim_esm_tools/__init__.py
files = pyproject.toml optim_esm_tools/__init__.py
commit = True
tag = True
8 changes: 0 additions & 8 deletions .coveragerc

This file was deleted.

75 changes: 75 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,78 @@
[project]
name = "optim_esm_tools"
version = "1.2.1"
dependencies = [
"immutabledict",
"intake-esm",
"matplotlib",
"numba",
"numpy",
"pandas",
"tqdm",
"treelib",
"xarray",
]
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
authors = [{ name = "Joran R. Angevaare" }]
maintainers = [{ name = "Joran R. Angevaare" }]
description = "Tools for OptimESM"
classifiers = [
'Intended Audience :: Science/Research',
'Development Status :: 2 - Pre-Alpha',
'Natural Language :: English',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: Implementation :: CPython',
]

# [project.scripts]
# oet_plot = "optim_esm_tools.bin.oet_plot:main"

[project.optional-dependencies]
test = [
"coverage",
"coveralls",
"ipython",
"matplotlib",
"nbmake",
"pytest",
"tqdm",

]

[tool.setuptools.packages.find]
where =[ "optim_esm_tools"]

[tool.setuptools.package-data]
optim_esm_tools = ['data/*', 'optim_esm_tools/*', '*.ini*']

[project.urls]
homepage = 'https://github.com/JoranAngevaare/optim_esm_tools'
documentation = 'https://github.com/JoranAngevaare/optim_esm_tools/blob/master/examples/Example.ipynb'
repository = 'https://github.com/JoranAngevaare/optim_esm_tools'


[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"


[tool.black]
target-version = ['py38']
skip-string-normalization = true

[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"pragma: no cover",
"ignore_errors = True",
]

[tool.flake8]
# Set maximum width of the line to 100
max-line-length = 100
52 changes: 0 additions & 52 deletions setup.py

This file was deleted.

0 comments on commit 9f925d6

Please sign in to comment.