Skip to content

Commit

Permalink
Migrate from setup.py/setup.cfg to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
olebole committed Feb 7, 2024
1 parent 7c6d111 commit adc26c0
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 70 deletions.
48 changes: 48 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[project]
name = "pyraf"
dynamic = [ "version" ]
license = {text = "BSD 3-Clause"}
authors = [
{name = "Rick White"},
{name = "Perry Greenfield"},
{name = "Chris Sontag"},
{name = "Ole Streicher"}
]
keywords = ["astronomy", "astrophysics", "utility", "iraf"]
requires-python = ">=3.6"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy"
]
description = "Pythonic interface to IRAF that can be used in place of the existing IRAF CL"
readme = {file = "README.rst", content-type = "text/x-rst"}
dependencies = ["configobj", "numpy"]

[project.optional-dependencies]
docs = ["astropy-sphinx-theme", "numpydoc", "sphinx"]
test = ["astropy", "pytest"]

[project.scripts]
pyraf = "pyraf:main"

[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-s"

[tool.coverage.run]
source = "pyraf"
omit = [ "pyraf/tests/*" ]

[tool.yapf]
based_on_style = "google"
column_limit = 79

[tool.flake8]
ignore = ""
70 changes: 0 additions & 70 deletions setup.cfg

This file was deleted.

0 comments on commit adc26c0

Please sign in to comment.