-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup.py with pyproject.toml. (#226)
- Loading branch information
Showing
16 changed files
with
112 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node: $Format:%H$ | ||
node-date: $Format:%cI$ | ||
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ |
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 @@ | ||
.git_archival.txt export-subst |
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
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 |
---|---|---|
@@ -0,0 +1,86 @@ | ||
[build-system] | ||
requires = ["setuptools>=64", "setuptools_scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "empymod" | ||
description = "Open-source full 3D electromagnetic modeller for 1D VTI media" | ||
readme = "README.rst" | ||
requires-python = ">=3.10" | ||
authors = [ | ||
{name = "The emsig community", email = "[email protected]"}, | ||
] | ||
dependencies = [ | ||
"scipy>=1.10", | ||
"numba", | ||
"libdlf", | ||
"scooby", | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.license] | ||
file = "LICENSE" | ||
|
||
[project.urls] | ||
Homepage = "https://emsig.xyz" | ||
Documentation = "https://empymod.emsig.xyz" | ||
Repository = "https://github.com/emsig/empymod" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"matplotlib", | ||
"sphinx>=7.3", | ||
"numpydoc", | ||
"sphinx_design", | ||
"sphinx_numfig", | ||
"sphinx_gallery>=0.16", | ||
"memory_profiler", | ||
"pydata_sphinx_theme", | ||
"sphinx_automodapi", | ||
"ipykernel", | ||
"ipympl", | ||
"pickleshare", | ||
] | ||
|
||
tests = [ | ||
"asv", | ||
"flake8", | ||
"pytest", | ||
"coveralls", | ||
"pytest_cov", | ||
"pytest_mpl", | ||
"flake8-pyproject", | ||
"pytest-console-scripts", | ||
] | ||
|
||
all = [ | ||
"empymod[docs]", | ||
"empymod[tests]", | ||
] | ||
|
||
build = [ | ||
"setuptools_scm>=8", | ||
"setuptools>=64", | ||
] | ||
|
||
[project.scripts] | ||
empymod = "empymod.__main__:main" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["empymod*"] | ||
|
||
[tool.setuptools_scm] | ||
version_file = "empymod/version.py" | ||
|
||
[tool.flake8] | ||
per-file-ignores = [ | ||
"__init__.py: F401, F403, F821", | ||
] | ||
|
||
[tool.coverage.run] | ||
relative_files = true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.