-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from mwtoews/setup-cfg
maint: move static metadata to setup.cfg; update requirements
- Loading branch information
Showing
16 changed files
with
112 additions
and
86 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
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
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 |
---|---|---|
@@ -1,22 +1,17 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
sphinx: | ||
builder: html | ||
configuration: docs/conf.py | ||
fail_on_warning: false | ||
|
||
formats: | ||
- htmlzip | ||
|
||
conda: | ||
environment: environment.yml | ||
|
||
python: | ||
version: 3.8 | ||
install: | ||
- requirements: requirements-docs.txt | ||
- method: pip | ||
path: . | ||
system_packages: false | ||
|
||
build: | ||
image: latest |
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,4 +1,3 @@ | ||
include LICENSE | ||
include *.rst | ||
include requirements*.txt | ||
include Makefile | ||
|
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
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
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 |
---|---|---|
@@ -1,12 +1,90 @@ | ||
[build-system] | ||
requires = ["cython", "numpy", "setuptools", "wheel"] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "bmi-tester" | ||
description = "Test Python BMI bindings" | ||
version = "0.5.6.dev0" | ||
authors = [ | ||
{email = "[email protected]"}, | ||
{name = "Eric Hutton"}, | ||
] | ||
maintainers = [ | ||
{email = "[email protected]"}, | ||
{name = "Eric Hutton"}, | ||
{email = "[email protected]"}, | ||
{name = "Mark Piper"} | ||
] | ||
keywords = [ | ||
"bmi", | ||
"csdms", | ||
"model", | ||
"python", | ||
] | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
] | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"click", | ||
"gimli.units", | ||
"model_metadata", | ||
"numpy", | ||
"pytest", | ||
"pytest-dependency", | ||
"standard_names", | ||
] | ||
dynamic = ["readme"] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"black", | ||
"flake8", | ||
] | ||
testing = [ | ||
"coveralls", | ||
"pytest>=3.6", | ||
"pytest-cov", | ||
] | ||
docs = [ | ||
"sphinx>=1.5.1", | ||
] | ||
build = [ | ||
"build", | ||
"twine", | ||
"zest.releaser" | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://csdms.colorado.edu" | ||
documentation = "https://csdms.colorado.edu" | ||
repository = "https://github.com/csdms/bmi-tester" | ||
changelog = "https://github.com/csdms/bmi-tester/blob/master/CHANGES.rst" | ||
|
||
[project.scripts] | ||
bmi-test = "bmi_tester.bmipytest:main" | ||
|
||
[project.entry-points."bmi.plugins"] | ||
bmi_test = "bmi_tester.bmipytest:configure_parser_test" | ||
|
||
[tool.setuptools.dynamic] | ||
readme = {file = ["README.rst", "CREDITS.rst", "CHANGES.rst"], content-type = "text/x-rst"} | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0.0rc1" | ||
testpaths = ["tests"] | ||
norecursedirs = [".*", "*.egg*", "build", "dist"] | ||
addopts = """ | ||
--ignore setup.py | ||
--ignore bmi_tester/bootstrap | ||
--ignore bmi_tester/tests | ||
--tb native | ||
|
@@ -27,3 +105,6 @@ include_trailing_comma = true | |
force_grid_wrap = 0 | ||
combine_as_imports = true | ||
line_length = 88 | ||
|
||
[tool.zest-releaser] | ||
tag-format = "v{version}" |
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,4 +1,5 @@ | ||
click | ||
gimli.units | ||
model_metadata | ||
numpy | ||
pytest | ||
|
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,10 +1,10 @@ | ||
[zest.releaser] | ||
tag-format = v{version} | ||
|
||
[flake8] | ||
exclude = docs | ||
ignore = | ||
E203 | ||
E501 | ||
W503 | ||
max-line-length = 88 | ||
|
||
[coverage:run] | ||
relative_files = True |