-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packaging: pep517/518 conform workflow with pyproject.toml
- Loading branch information
1 parent
a7c56cd
commit df6620e
Showing
14 changed files
with
188 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
|
||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
formats: all | ||
|
||
python: | ||
version: 3.7 | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- doc |
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,9 +1,6 @@ | ||
include README.md | ||
include MANIFEST.in | ||
include setup.py | ||
include setup.cfg | ||
recursive-include anaflow *.py | ||
recursive-include tests *.py | ||
recursive-include docs/source * | ||
include docs/Makefile docs/requirements.txt | ||
include LICENSE | ||
prune * | ||
graft anaflow | ||
graft tests | ||
|
||
include LICENSE README.md pyproject.toml setup.cfg | ||
global-exclude __pycache__ *.py[cod] .* |
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 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,63 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
"setuptools_scm[toml]>=3.5", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "anaflow/_version.py" | ||
write_to_template = "__version__ = '{version}'" | ||
local_scheme = "no-local-version" | ||
fallback_version = "0.0.0.dev0" | ||
|
||
[tool.black] | ||
exclude = "_version.py" | ||
line-length = 79 | ||
target-version = [ | ||
"py36", | ||
"py37", | ||
"py38", | ||
] | ||
|
||
[tool.coverage] | ||
[tool.coverage.run] | ||
source = ["anaflow"] | ||
omit = [ | ||
"*docs*", | ||
"*examples*", | ||
"*tests*", | ||
] | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
"pragma: no cover", | ||
"if __name__ == '__main__':", | ||
"def __repr__", | ||
"def __str__", | ||
] | ||
|
||
[tool.pylint] | ||
[tool.pylint.master] | ||
extension-pkg-whitelist = [ | ||
"numpy", | ||
"scipy", | ||
] | ||
ignore = "_version.py" | ||
|
||
[tool.pylint.message_control] | ||
disable = [ | ||
"R0801", | ||
] | ||
|
||
[tool.pylint.reports] | ||
output-format = "colorized" | ||
|
||
[tool.pylint.design] | ||
max-args = 20 | ||
max-locals = 50 | ||
max-branches = 30 | ||
max-statements = 80 | ||
max-attributes = 25 | ||
max-public-methods = 75 |
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 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,3 +1,67 @@ | ||
[metadata] | ||
description-file = README.md | ||
name = anaflow | ||
description = AnaFlow - analytical solutions for the groundwater-flow equation. | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/GeoStat-Framework/AnaFlow | ||
author = Sebastian Mueller | ||
author_email = [email protected] | ||
maintainer = Sebastian Mueller | ||
maintainer_email = [email protected] | ||
license = MIT | ||
license_file = LICENSE | ||
platforms = any | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Developers | ||
Intended Audience :: End Users/Desktop | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: MIT License | ||
Natural Language :: English | ||
Operating System :: MacOS | ||
Operating System :: MacOS :: MacOS X | ||
Operating System :: Microsoft | ||
Operating System :: Microsoft :: Windows | ||
Operating System :: POSIX | ||
Operating System :: Unix | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Topic :: Scientific/Engineering | ||
Topic :: Software Development | ||
Topic :: Utilities | ||
project_urls = | ||
Documentation = https://anaflow.readthedocs.io | ||
Source = https://github.com/GeoStat-Framework/anaflow | ||
Tracker = https://github.com/GeoStat-Framework/anaflow/issues | ||
Changelog = https://github.com/GeoStat-Framework/anaflow/blob/develop/CHANGELOG.md | ||
Conda-Forge = https://anaconda.org/conda-forge/anaflow | ||
|
||
[options] | ||
packages = find: | ||
install_requires = | ||
numpy>=1.14.5,<2 | ||
pentapy>=1.1.0,<2 | ||
scipy>=1.1.0,<2 | ||
python_requires = >=3.6 | ||
zip_safe = False | ||
|
||
[options.packages.find] | ||
exclude = | ||
tests* | ||
docs* | ||
|
||
[options.extras_require] | ||
doc = | ||
numpydoc>=1.1 | ||
sphinx>=3 | ||
sphinx-gallery>=0.8 | ||
sphinx-rtd-theme>=0.5 | ||
test = | ||
coverage[toml]>=5.2.1 | ||
pytest>=6.0 | ||
pytest-cov>=2.11.0 |