-
Notifications
You must be signed in to change notification settings - Fork 42
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 #1250 from zacharyburnett/pep621
move build configuration from `setup.py` to `pyproject.toml`
- Loading branch information
Showing
7 changed files
with
87 additions
and
78 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
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
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 |
---|---|---|
@@ -1,6 +1,74 @@ | ||
# pyproject.toml | ||
[project] | ||
name = "jwql" | ||
description = "The James Webb Space Telescope Quicklook Project" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "Matthew Bourque" }, | ||
{ name = "Lauren Chambers" }, | ||
{ name = "Misty Cracraft" }, | ||
{ name = "Mike Engesser" }, | ||
{ name = "Mees Fix" }, | ||
{ name = "Joe Filippazzo" }, | ||
{ name = "Bryan Hilbert" }, | ||
] | ||
keywords = ["astronomy", "python"] | ||
classifiers = ["Programming Language :: Python"] | ||
dependencies = [ | ||
"asdf", | ||
"astropy", | ||
"astroquery", | ||
"bokeh<3", | ||
"crds", | ||
"cryptography", | ||
"django", | ||
"inflection", | ||
"jinja2", | ||
"jsonschema", | ||
"jwst", | ||
"jwst_reffiles", | ||
"matplotlib", | ||
"nodejs", | ||
"numpy", | ||
"numpydoc", | ||
"pandas", | ||
"psycopg2-binary", | ||
"pysiaf", | ||
"pyvo", | ||
"scipy", | ||
"sqlalchemy", | ||
"stdatamodels", | ||
"wtforms", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-mock", | ||
] | ||
docs = [ | ||
"sphinx", | ||
"sphinx_rtd_theme", | ||
"stsci_rtd_theme", | ||
] | ||
|
||
[project.license] | ||
file = "LICENSE" | ||
content-type = "text/plain" | ||
|
||
[build-system] | ||
requires = ["setuptools<=65.5.0", | ||
"numpy", | ||
"wheel", | ||
"setuptools_scm"] | ||
requires = ["setuptools>=61.2,<=65.5.0", "numpy", "wheel", "setuptools_scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
[tool.setuptools.packages.find] | ||
namespaces = false | ||
|
||
[tool.setuptools_scm] | ||
|
||
[tool.pytest] | ||
junit_family = "xunit2" | ||
addopts = "--ignore=jwql/website/apps/jwql/static" |
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 |
---|---|---|
@@ -1,64 +1,6 @@ | ||
import numpy as np | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
|
||
VERSION = '1.1.1' | ||
|
||
AUTHORS = 'Matthew Bourque, Lauren Chambers, Misty Cracraft, Mike Engesser, Mees Fix, Joe Filippazzo, Bryan Hilbert, ' | ||
AUTHORS += 'Graham Kanarek, Teagan King, Catherine Martlin, Shannon Osborne, Maria Pena-Guerrero, Johannes Sahlmann, ' | ||
AUTHORS += 'Ben Sunnquist, Brian York' | ||
|
||
DESCRIPTION = 'The James Webb Space Telescope Quicklook Project' | ||
|
||
REQUIRES = [ | ||
'asdf', | ||
'astropy', | ||
'astroquery', | ||
'bandit', | ||
'bokeh<3', | ||
'crds', | ||
'cryptography', | ||
'django', | ||
'flake8', | ||
'inflection', | ||
'ipython', | ||
'jinja2', | ||
'jsonschema', | ||
'jwst', | ||
'jwst_reffiles', | ||
'matplotlib', | ||
'nodejs', | ||
'numpy', | ||
'numpydoc', | ||
'pandas', | ||
'psycopg2', | ||
'pysiaf', | ||
'pytest', | ||
'pytest-cov', | ||
'pytest-mock', | ||
'pyvo', | ||
'scipy', | ||
'sphinx', | ||
'sphinx_rtd_theme', | ||
'sqlalchemy', | ||
'stdatamodels', | ||
'stsci_rtd_theme', | ||
'twine', | ||
'wtforms' | ||
] | ||
|
||
setup( | ||
name='jwql', | ||
version=VERSION, | ||
description=DESCRIPTION, | ||
url='https://github.com/spacetelescope/jwql.git', | ||
author=AUTHORS, | ||
author_email='[email protected]', | ||
license='BSD', | ||
keywords=['astronomy', 'python'], | ||
classifiers=['Programming Language :: Python'], | ||
packages=find_packages(), | ||
install_requires=REQUIRES, | ||
include_package_data=True, | ||
include_dirs=[np.get_include()], | ||
) |