Skip to content

Commit

Permalink
require Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Mar 14, 2024
1 parent c9b5119 commit 607e35b
Showing 1 changed file with 31 additions and 14 deletions.
45 changes: 31 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
[build-system]
requires = ["setuptools >= 61.2",
"setuptools_scm[toml]>=7.1"]
build-backend = 'setuptools.build_meta'
requires = [
"setuptools >= 61.2",
"setuptools_scm[toml]>=7.1",
]
build-backend = "setuptools.build_meta"

[project]
name = "poppy"
description = "Physical optics propagation (wavefront diffraction) for optical simulations, particularly of telescopes."
authors = [{name = "Marshall Perrin", email = "[email protected]"}]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.9"
authors = [
{ name = "Marshall Perrin", email = "[email protected]" },
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.20.0",
"scipy>=1.5.0",
"matplotlib>=3.2.0",
"astropy>=5.1.0",
]
dynamic = ["version"]
dynamic = [
"version",
]
readme = "README.rst"

[project.license]
text = "BSD-3-Clause"

[project.optional-dependencies]
all = ["synphot"]
all = [
"synphot",
]
test = [
"pytest",
"pytest-astropy",
Expand Down Expand Up @@ -55,19 +65,26 @@ addopts = "-p no:warnings"
zip-safe = false
include-package-data = false

[tool.setuptools.packages]
find = {namespaces = false}
[tool.setuptools.packages.find]
namespaces = false

[tool.setuptools.package-data]
"*" = ["*.fits", "*.csv"]
"poppy.tests" = ["data/*"]
"*" = [
"*.fits",
"*.csv",
]
"poppy.tests" = [
"data/*",
]

[tool.setuptools_scm]
write_to = "poppy/version.py"
write_to_template = "__version__ = '{version}'\n"

[tool.coverage.run]
source = ["poppy",]
source = [
"poppy",
]
omit = [
"poppy/conftest*",
"poppy/cython_version*",
Expand Down Expand Up @@ -117,4 +134,4 @@ omit = [
"*/poppy/*/tests/*",
"*/poppy/*/*/tests/*",
"*/poppy/version*",
]
]

0 comments on commit 607e35b

Please sign in to comment.