-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move build configuration into
pyproject.toml
- Loading branch information
1 parent
1f81229
commit 95de79e
Showing
7 changed files
with
134 additions
and
106 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
type: sphinx | ||
python: | ||
version: 3 | ||
install: | ||
- method: pip | ||
path: | ||
extra_requirements: | ||
- docs | ||
|
||
conda: | ||
file: doc/environment.yml |
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,4 +1,3 @@ | ||
include RELIC-INFO | ||
exclude stistools/version.py | ||
recursive-include stistools/pars *.cfg* | ||
|
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,71 @@ | ||
[project] | ||
name = 'stistools' | ||
description = 'Tools for STIS (Space Telescope Imaging Spectrograph)' | ||
readme = 'README.md' | ||
requires-python = '>=3.8' | ||
license = { file = 'LICENSE.txt' } | ||
authors = [ | ||
{ name = 'Paul Barrett', email = 'help@stsci.edu' }, | ||
{ name = 'Phil Hodge' }, | ||
{ name = 'Warren Hack' }, | ||
{ name = 'Nadia Dencheva' }, | ||
{ name = 'Chris Sontag' }, | ||
{ name = 'Megan Sosey' }, | ||
{ name = 'Michael Droettboom' }, | ||
] | ||
classifiers = [ | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Topic :: Scientific/Engineering :: Astronomy', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
] | ||
dependencies = [ | ||
'astropy >=4.1', | ||
'numpy', | ||
'scipy', | ||
'stsci.tools', | ||
'pysiaf', | ||
'astroquery', | ||
] | ||
dynamic = ['version'] | ||
|
||
[project.optional-dependencies] | ||
tests = [ | ||
'pytest', | ||
'six', | ||
#'requests', | ||
#'crds', | ||
] | ||
docs = [ | ||
'tomli; python_version <"3.11"', | ||
] | ||
|
||
[project.urls] | ||
'repository' = 'https://github.com/spacetelescope/stistools' | ||
|
||
[project.scripts] | ||
add_stis_s_region = 'stistools.add_stis_s_region:call_main' | ||
|
||
[build-system] | ||
requires = [ | ||
'setuptools >=61', | ||
'setuptools_scm[toml] >=3.4', | ||
'wheel', | ||
] | ||
build-backend = 'setuptools.build_meta' | ||
|
||
[tool.setuptools_scm] | ||
write_to = 'stistools/version.py' | ||
|
||
[tool.setuptools.packages.find] | ||
where = ['stistools'] | ||
|
||
[tool.setuptools.package-data] | ||
stistools = ['pars/*', 'LICENSE.txt'] | ||
|
||
[tool.pytest.ini_options] | ||
minversion = 3 | ||
norecursedirs = ['.eggs', 'build', 'docs/_build'] | ||
junit_family = 'xunit2' |
This file was deleted.
Oops, something went wrong.
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