forked from spacetelescope/calcos
-
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.
Revert "move build configuration into
pyproject.toml
(spacetelescop…
- Loading branch information
1 parent
38dbf69
commit 51a3440
Showing
4 changed files
with
64 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,8 @@ | ||
[project] | ||
name = "calcos" | ||
description = "Calibration software for COS (Cosmic Origins Spectrograph)" | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "Phil Hodge" }, | ||
{ name = "Robert Jedrzejewski" }, | ||
] | ||
classifiers = [ | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: C", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"astropy>=5.0.4", | ||
"numpy", | ||
"scipy", | ||
"stsci.tools>=4.0.0", | ||
] | ||
dynamic = [ | ||
"version", | ||
] | ||
|
||
[project.readme] | ||
file = "README.md" | ||
content-type = "text/markdown" | ||
|
||
[project.scripts] | ||
calcos = "calcos:main" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"sphinx", | ||
"stsci_rtd_theme", | ||
] | ||
test = [ | ||
"ci-watson", | ||
"pytest", | ||
"pytest-cov", | ||
] | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=61.2", | ||
"setuptools>=42.0", | ||
"setuptools_scm[toml]>=3.4", | ||
"wheel", | ||
"oldest-supported-numpy", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
include-package-data = false | ||
|
||
[tool.setuptools.packages.find] | ||
namespaces = false | ||
|
||
[tool.setuptools.package-data] | ||
calcos = [ | ||
"pars/*", | ||
"*.help", | ||
] | ||
|
||
[tool.setuptools_scm] | ||
write_to = 'calcos/version.py' | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "3.0" | ||
norecursedirs = [ | ||
"build", | ||
"doc/build", | ||
"src", | ||
] | ||
junit_family = "xunit2" | ||
|
||
build-backend = 'setuptools.build_meta' |
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,13 @@ | ||
[options] | ||
python_requires = >=3.8 | ||
|
||
[tool:pytest] | ||
minversion = 3.0 | ||
norecursedirs = build doc/build src | ||
junit_family = xunit2 | ||
|
||
[flake8] | ||
# E265: block comment should start with '#' | ||
# F821 undefined name | ||
ignore = E265,F821,F841 | ||
exclude = setup.py,__init__.py |
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