-
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.
Merge pull request #145 from zacharyburnett/pep621
- Loading branch information
Showing
8 changed files
with
94 additions
and
112 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,5 +1,3 @@ | ||
RELIC-INFO | ||
relic/ | ||
*/version.py | ||
build/ | ||
dist/ | ||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
[project] | ||
name = "stistools" | ||
description = "Tools for STIS (Space Telescope Imaging Spectrograph)" | ||
authors = [ | ||
{ name = "Paul Barrett" }, | ||
{ name = "Phil Hodge" }, | ||
] | ||
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>=5.1", | ||
"numpy", | ||
"scipy", | ||
"stsci.tools", | ||
"pysiaf", | ||
"astroquery", | ||
] | ||
dynamic = [ | ||
"version", | ||
] | ||
|
||
[project.readme] | ||
file = "README.md" | ||
content-type = "text/markdown" | ||
|
||
[project.license] | ||
file = "LICENSE.txt" | ||
content-type = "text/plain" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
] | ||
docs = [ | ||
"ipython", | ||
"sphinx", | ||
"stsci_rtd_theme", | ||
"sphinx_automodapi", | ||
'tomli; python_version <"3.11"', | ||
] | ||
|
||
[project.scripts] | ||
add_stis_s_region = "stistools.add_stis_s_region:call_main" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=61.2", | ||
"setuptools_scm[toml]>=3.4", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
include-package-data = false | ||
|
||
[tool.setuptools.packages.find] | ||
namespaces = false | ||
|
||
[tool.setuptools.package-data] | ||
stistools = [ | ||
"pars/*", | ||
"LICENSE.txt", | ||
] | ||
|
||
[tool.distutils.bdist_wheel] | ||
universal = 1 | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "3" | ||
norecursedirs = [ | ||
".eggs", | ||
"build", | ||
"docs/_build", | ||
] | ||
junit_family = "xunit2" | ||
|
||
[tool.setuptools_scm] |
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,12 @@ | ||
version: 2 | ||
|
||
sphinx: | ||
configuration: doc/source/conf.py | ||
|
||
python: | ||
version: "3.8" | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs |
This file was deleted.
Oops, something went wrong.