-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(setup): convert project to use pyproject.toml; bump supporte…
…d python versions to 3.11 and 3.12
- Loading branch information
Showing
13 changed files
with
129 additions
and
312 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 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,46 @@ | ||
License | ||
======= | ||
|
||
Unless otherwise noted, This project is in the public domain in the United | ||
States because it contains materials that originally came from the United | ||
States Geological Survey, an agency of the United States Department of | ||
Interior. For more information, see the official USGS copyright policy at | ||
https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits | ||
|
||
Additionally, we waive copyright and related rights in the work | ||
worldwide through the CC0 1.0 Universal public domain dedication. | ||
|
||
|
||
CC0 1.0 Universal Summary | ||
------------------------- | ||
|
||
This is a human-readable summary of the | ||
[Legal Code (read the full text)][1]. | ||
|
||
|
||
### No Copyright | ||
|
||
The person who associated a work with this deed has dedicated the work to | ||
the public domain by waiving all of his or her rights to the work worldwide | ||
under copyright law, including all related and neighboring rights, to the | ||
extent allowed by law. | ||
|
||
You can copy, modify, distribute and perform the work, even for commercial | ||
purposes, all without asking permission. | ||
|
||
|
||
### Other Information | ||
|
||
In no way are the patent or trademark rights of any person affected by CC0, | ||
nor are the rights that other persons may have in the work or in how the | ||
work is used, such as publicity or privacy rights. | ||
|
||
Unless expressly stated otherwise, the person who associated a work with | ||
this deed makes no warranties about the work, and disclaims liability for | ||
all uses of the work, to the fullest extent permitted by applicable law. | ||
When using or citing the work, you should not imply endorsement by the | ||
author or the affirmer. | ||
|
||
|
||
|
||
[1]: https://creativecommons.org/publicdomain/zero/1.0/legalcode |
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,73 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 61", | ||
#'tomli; python_version < "3.11"', | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "modflow-export" | ||
dynamic = ["version"] | ||
authors = [ | ||
{ name = "Andrew Leaf", email = "aleaf@usgs.gov" }, | ||
{ name = "Mike Fienen", email = "mnfienen@usgs.gov" }, | ||
] | ||
description = "Fast & easy summarizing of MODFLOW data and export to GIS file formats" | ||
readme = "Readme.md" | ||
keywords = ["MODFLOW", "groundwater", "hydrogeology"] | ||
license = {file = "LICENSE.md"} | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Science/Research", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Topic :: Scientific/Engineering :: Hydrology", | ||
] | ||
requires-python = ">=3.11" | ||
dependencies = [ | ||
"gis-utils", | ||
"fiona", | ||
"flopy", | ||
"matplotlib", | ||
"numpy", | ||
"pandas", | ||
"pyproj", | ||
"pyyaml", | ||
"rasterio", | ||
"shapely", | ||
"xarray", | ||
] | ||
|
||
[project.optional-dependencies] | ||
optional = [ | ||
] | ||
test = [ | ||
"codecov", | ||
"coverage", | ||
"pytest", | ||
] | ||
docs = [ | ||
"modflow-export[optional]", | ||
"ipython[kernel]", | ||
"sphinx", | ||
"numpydoc", | ||
"nbsphinx", | ||
"sphinx-copybutton", | ||
"sphinx-rtd-theme" | ||
] | ||
|
||
[project.scripts] | ||
get-modflow = "flopy.utils.get_modflow:cli_main" | ||
|
||
[project.urls] | ||
documentation = "https://aleaf.github.io/modflow-export/latest/" | ||
repository = "https://github.com/aleaf/modflow-export" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["mfexport", "mfexport.*"] | ||
|
||
[tool.versioneer] | ||
VCS = "git" | ||
style = "pep440-post" | ||
versionfile_source = "mfexport/_version.py" | ||
versionfile_build = "mfexport/_version.py" | ||
tag_prefix = "v" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.