-
Notifications
You must be signed in to change notification settings - Fork 0
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 #23 from dnv-opensource/move-config-from-setup-cfg…
…-to-pyproject-toml Move config from setup cfg to pyproject toml
- Loading branch information
Showing
9 changed files
with
120 additions
and
117 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 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 |
---|---|---|
|
@@ -2,6 +2,66 @@ | |
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "farn" | ||
version = "0.3.6" | ||
description = "Python package to generate an n-dimensional case folder structure applying linear and spatial sampling strategies." | ||
readme = "README.md" | ||
requires-python = ">= 3.9" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Frank Lumpitzsch", email = "[email protected]"}, | ||
{name = "Claas Rostock", email = "[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name = "Claas Rostock", email = "[email protected]"}, | ||
] | ||
keywords = [] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"lxml>=5.1", | ||
"numpy>=1.26", | ||
"scipy>=1.12", | ||
"pandas>=2.2", | ||
"matplotlib>=3.8", | ||
"Pillow>=10.2", | ||
"pyDOE3>=1.0", | ||
"psutil>=5.9", | ||
"hilbertcurve>=2.0.5", | ||
"dictIO>=0.3.3", | ||
"ospx>=0.2.13", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/dnv-opensource/farn" | ||
Documentation = "https://dnv-opensource.github.io/farn/README.html" | ||
Repository = "https://github.com/dnv-opensource/farn.git" | ||
Issues = "https://github.com/dnv-opensource/farn/issues" | ||
Changelog = "https://github.com/dnv-opensource/farn/blob/main/CHANGELOG.md" | ||
|
||
[project.scripts] | ||
farn = "farn.cli.farn:main" | ||
batchProcess = "farn.run.cli.batchProcess:main" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
exclude = ["test*"] | ||
|
||
[tool.black] | ||
line-length = 120 | ||
target-version = ["py39", "py310", "py311", "py312"] | ||
|
@@ -109,8 +169,3 @@ reportUntypedNamedTuple = "warning" | |
# reportUnnecessaryTypeIgnoreComment = "information" | ||
# reportImportCycles = "warning" | ||
# reportImplicitStringConcatenation = "warning" | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = "tests" | ||
addopts = "--strict-markers" | ||
xfail_strict = true |
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,5 @@ | ||
[pytest] | ||
testpaths = | ||
tests | ||
addopts = --strict-markers | ||
xfail_strict = True |
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,27 @@ | ||
[tox] | ||
isolated_build = True | ||
envlist = py{39,310,311,312}-{linux,macos,windows} | ||
# envlist = py{39,310,311,312}-{windows} | ||
# envlist = py{39,310,311,312} | ||
|
||
[coverage:paths] | ||
source = | ||
src/farn | ||
*/site-packages/farn | ||
|
||
[coverage:run] | ||
source = farn | ||
branch = True | ||
|
||
[coverage:report] | ||
fail_under = 10.0 | ||
show_missing = True | ||
skip_covered = True | ||
|
||
[testenv] | ||
system_site_packages = True | ||
deps = | ||
pytest>=7.4 | ||
pytest-cov>=4.1 | ||
commands = | ||
pytest --cov --cov-config tox.ini {posargs} |