-
Notifications
You must be signed in to change notification settings - Fork 300
move setup.cfg to pyproject.toml #5262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
259cf82
move setup.cfg to pyproject.toml
bjlittle 9992571
refactor after #5263
bjlittle 07beca9
refactor after #5259
bjlittle ea5622c
review actions - manifest pattern
bjlittle 48708e8
review actions
bjlittle d4981d6
add whatsnew entry
bjlittle 19c2826
follow-thru with #5226
bjlittle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,49 @@ | ||
| [flake8] | ||
| # References: | ||
| # https://flake8.readthedocs.io/en/latest/user/configuration.html | ||
| # https://flake8.readthedocs.io/en/latest/user/error-codes.html | ||
| # https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes | ||
|
|
||
| max-line-length = 80 | ||
| max-complexity = 50 | ||
| select = C,E,F,W,B,B950 | ||
| ignore = | ||
| # E203: whitespace before ':' | ||
| E203, | ||
| # E226: missing whitespace around arithmetic operator | ||
| E226, | ||
| # E231: missing whitespace after ',', ';', or ':' | ||
| E231, | ||
| # E402: module level imports on one line | ||
| E402, | ||
| # E501: line too long | ||
| E501, | ||
| # E731: do not assign a lambda expression, use a def | ||
| E731, | ||
| # W503: line break before binary operator | ||
| W503, | ||
| # W504: line break after binary operator | ||
| W504, | ||
| exclude = | ||
| # | ||
| # ignore the following directories | ||
| # | ||
| .eggs, | ||
| build, | ||
| docs/src/sphinxext/*, | ||
| tools/*, | ||
| benchmarks/*, | ||
| # | ||
| # ignore auto-generated files | ||
| # | ||
| _ff_cross_refrences.py, | ||
| std_names.py, | ||
| um_cf_map.py, | ||
| # | ||
| # ignore third-party files | ||
| # | ||
| gitwash_dumper.py, | ||
| # | ||
| # convenience imports | ||
| # | ||
| lib/iris/common/__init__.py |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -8,6 +8,69 @@ requires = [ | |
| # Defined by PEP 517 | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| authors = [ | ||
| {name = "Iris Contributors", email = "[email protected]"} | ||
| ] | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Intended Audience :: Science/Research", | ||
| "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", | ||
| "Operating System :: MacOS", | ||
| "Operating System :: POSIX", | ||
| "Operating System :: POSIX :: Linux", | ||
| "Operating System :: Unix", | ||
| "Programming Language :: Python", | ||
| "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 :: Implementation :: CPython", | ||
| "Topic :: Scientific/Engineering", | ||
| "Topic :: Scientific/Engineering :: Atmospheric Science", | ||
| "Topic :: Scientific/Engineering :: Visualization", | ||
| ] | ||
| dynamic = [ | ||
| "dependencies", | ||
| "readme", | ||
| "version", | ||
trexfeathers marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ] | ||
| description = "A powerful, format-agnostic, community-driven Python package for analysing and visualising Earth science data" | ||
| keywords = [ | ||
| "cf-metadata", | ||
| "data-analysis", | ||
| "earth-science", | ||
| "grib", | ||
| "netcdf", | ||
| "meteorology", | ||
| "oceanography", | ||
| "space-weather", | ||
| "ugrid", | ||
| "visualisation", | ||
| ] | ||
| license = {text = "LGPL-3.0-or-later"} | ||
| name = "scitools-iris" | ||
| requires-python = ">=3.8" | ||
|
|
||
| [project.urls] | ||
| Code = "https://github.com/SciTools/iris" | ||
| Discussions = "https://github.com/SciTools/iris/discussions" | ||
| Documentation = "https://scitools-iris.readthedocs.io/en/stable/" | ||
| Issues = "https://github.com/SciTools/iris/issues" | ||
trexfeathers marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| [tool.setuptools] | ||
| license-files = ["COPYING", "COPYING.LESSER"] | ||
| zip-safe = false | ||
|
|
||
| [tool.setuptools.dynamic] | ||
| dependencies = {file = "requirements/pypi-core.txt"} | ||
| readme = {file = "README.md", content-type = "text/markdown"} | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| include = ["iris*"] | ||
| where = ["lib"] | ||
|
|
||
| [tool.setuptools_scm] | ||
| write_to = "lib/iris/_version.py" | ||
| local_scheme = "dirty-tag" | ||
|
|
||
This file contains hidden or 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,8 @@ | ||
| # ⚠️ | ||
|
|
||
| This directory contains: | ||
|
|
||
| - The `locks` directory which contains auto-generated `conda-lock` environment files for each `python` distribution and `platform` supported by `iris`. | ||
| - The **top-level** `conda` environment `*.yml` files for each `python` distribution supported by `iris`. | ||
| - The `pip` core package dependencies (`pypi-core.txt`) for the [scitools-iris](https://pypi.org/project/scitools-iris/) package on PyPI. Please reference the `pyproject.toml` in the repository root directory for further details. | ||
|
|
This file contains hidden or 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,12 @@ | ||
| cartopy>=0.21 | ||
| cf-units>=3.1 | ||
| cftime>=1.5.0 | ||
| dask[array]>=2022.9.0 | ||
| # libnetcdf<4.9 (not available on PyPI) | ||
| matplotlib>=3.5 | ||
| netcdf4 | ||
| numpy>=1.19 | ||
| pyproj | ||
| scipy | ||
| shapely!=1.8.3 | ||
| xxhash |
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.