Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ docs/_build/
*.yml~
*.rst~

_version.py
_version_save.py
.env
venv*
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
0.5.4
- setup: migrate to pyproject.toml
- tests: `numpy.gradient` has been improved over time yielding different
results with the median gradient metric (#21)
0.5.3
Expand Down
197 changes: 0 additions & 197 deletions nrefocus/_version.py

This file was deleted.

51 changes: 51 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[build-system]
requires = [
# for version management
"setuptools>=45", "setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"

[project]
name = "nrefocus"
description = "numerical focusing (refocusing, autofocusing) of complex wave fields"
authors = [
{name="Paul Müller", email="dev@craban.de"},
{name="Eoghan O'Connell", email="eoclives@hotmail.com"},
]
dynamic = ["version"]
readme = "README.rst"
license = {text = "BSD (3 clause)"}
dependencies=[
"lmfit",
"numexpr",
"numpy>=1.5.1",
]
requires-python=">=3.6, <4"
keywords=[
"autofocus",
"refocus",
"numerical focusing",
"quantitative phase imaging",
"digital holographic microscopy",
]
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research"
]

[project.optional-dependencies]
FFTW = ["pyfftw>=0.12.0"]

[project.urls]
Repository = "https://github.com/RI-imaging/nrefocus"
Documentation = "https://nrefocus.readthedocs.io/en/stable/"
Changelog = "https://github.com/RI-imaging/nrefocus/blob/master/CHANGELOG"

[tool.setuptools]
packages = ["nrefocus"]
include-package-data = true

[tool.setuptools_scm]
write_to = "./nrefocus/_version.py"
version_scheme = "post-release"
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

46 changes: 0 additions & 46 deletions setup.py

This file was deleted.

Loading