|
| 1 | +[project] |
| 2 | +name = "acstools" |
| 3 | +description = "Python Tools for HST ACS" |
| 4 | +requires-python = ">=3.8" |
| 5 | +authors = [ |
| 6 | + { name = "Matt Davis", email = "[email protected]" }, |
| 7 | + { name = "Warren Hack" }, |
| 8 | + { name = "Norman Grogin" }, |
| 9 | + { name = "Pey Lian Lim" }, |
| 10 | + { name = "Sara Ogaz" }, |
| 11 | + { name = "Leonardo Ubeda" }, |
| 12 | + { name = "Mihai Cara" }, |
| 13 | + { name = "David Borncamp" }, |
| 14 | + { name = "Nathan Miles" }, |
| 15 | + { name = "Tyler Desjardins" }, |
| 16 | + { name = "Jenna Ryon" }, |
| 17 | + { name = "David Stark" }, |
| 18 | + { name = "Gagandeep Anand" }, |
| 19 | + { name = "Yotam Cohen" }, |
| 20 | +] |
| 21 | +keywords = [ |
| 22 | + "astronomy", |
| 23 | + "astrophysics", |
| 24 | + "calibration", |
| 25 | +] |
| 26 | +classifiers = [ |
| 27 | + "Intended Audience :: Science/Research", |
| 28 | + "License :: OSI Approved :: BSD License", |
| 29 | + "Operating System :: OS Independent", |
| 30 | + "Programming Language :: Python :: 3", |
| 31 | + "Programming Language :: Python :: Implementation :: CPython", |
| 32 | + "Topic :: Scientific/Engineering :: Astronomy", |
| 33 | + "Topic :: Scientific/Engineering :: Physics", |
| 34 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 35 | +] |
| 36 | +dependencies = [ |
| 37 | + "numpy", |
| 38 | + "astropy>=3.1", |
| 39 | + "requests", |
| 40 | + "PyYAML", |
| 41 | +] |
| 42 | +dynamic = [ |
| 43 | + "version", |
| 44 | +] |
| 45 | +edit-on-github = "False" |
| 46 | +github-project = "spacetelescope/acstools" |
| 47 | + |
| 48 | +[project.readme] |
| 49 | +file = "README.rst" |
| 50 | +content-type = "text/x-rst" |
| 51 | + |
| 52 | +[project.license] |
| 53 | +file = "LICENSE.md" |
| 54 | +content-type = "text/plain" |
| 55 | + |
| 56 | +[project.urls] |
| 57 | +Homepage = "https://github.com/spacetelescope/acstools" |
| 58 | +"Bug Reports" = "https://github.com/spacetelescope/acstools/issues/" |
| 59 | +Source = "https://github.com/spacetelescope/acstools/" |
| 60 | +Help = "https://hsthelp.stsci.edu" |
| 61 | + |
| 62 | +[project.scripts] |
| 63 | +acs_destripe = "acstools.acs_destripe:main" |
| 64 | +acs_destripe_plus = "acstools.acs_destripe_plus:main" |
| 65 | + |
| 66 | +[project.optional-dependencies] |
| 67 | +all = [ |
| 68 | + "matplotlib", |
| 69 | + "scipy", |
| 70 | + "scikit-image", |
| 71 | + "stsci.tools", |
| 72 | + "stsci.imagestats", |
| 73 | + "photutils", |
| 74 | + "dask", |
| 75 | +] |
| 76 | +test = [ |
| 77 | + "pytest", |
| 78 | + "pytest-astropy-header", |
| 79 | + "pytest-remotedata", |
| 80 | + "ci-watson", |
| 81 | +] |
| 82 | +docs = [ |
| 83 | + "sphinx", |
| 84 | + "sphinx-automodapi", |
| 85 | + "sphinx-rtd-theme", |
| 86 | +] |
| 87 | + |
1 | 88 | [build-system] |
2 | | -requires = ["setuptools>=30.3.0", |
3 | | - "setuptools_scm"] |
| 89 | +requires = [ |
| 90 | + "setuptools>=30.3.0", |
| 91 | + "setuptools_scm", |
| 92 | +] |
4 | 93 | build-backend = "setuptools.build_meta" |
| 94 | + |
| 95 | +[tool.setuptools] |
| 96 | +zip-safe = false |
| 97 | +include-package-data = false |
| 98 | +license-files = [ |
| 99 | + "LICENSE.md", |
| 100 | +] |
| 101 | + |
| 102 | +[tool.setuptools.packages.find] |
| 103 | +namespaces = false |
| 104 | + |
| 105 | +[tool.setuptools.package-data] |
| 106 | +acstools = [ |
| 107 | + "data/*", |
| 108 | +] |
| 109 | +"acstools.tests" = [ |
| 110 | + "data/input/*.fits", |
| 111 | + "data/truth/*.fits", |
| 112 | +] |
| 113 | + |
| 114 | +[tool.pytest.ini_options] |
| 115 | +minversion = "5" |
| 116 | +testpaths = [ |
| 117 | + "\"acstools\"", |
| 118 | + "\"doc\"", |
| 119 | +] |
| 120 | +norecursedirs = [ |
| 121 | + "build", |
| 122 | + "doc/build", |
| 123 | +] |
| 124 | +astropy_header = true |
| 125 | +xfail_strict = true |
| 126 | +filterwarnings = [ |
| 127 | + "error", |
| 128 | + "ignore:numpy\\.ndarray size changed:RuntimeWarning", |
| 129 | + "ignore:unclosed file:ResourceWarning", |
| 130 | + "ignore:distutils Version classes are deprecated:DeprecationWarning", |
| 131 | + "ignore:Deprecation Warning.*timeout.*parameter no longer needed:UserWarning", |
| 132 | + "ignore:Deprecated call to.*pkg_resources\\.declare_namespace.*:DeprecationWarning", |
| 133 | + "ignore:pkg_resources is deprecated as an API:DeprecationWarning", |
| 134 | + "ignore:.*utcfromtimestamp:DeprecationWarning", |
| 135 | + "ignore:.*numpy\\.core.*:DeprecationWarning", |
| 136 | + "ignore:skimage not installed", |
| 137 | +] |
| 138 | + |
| 139 | +[tool.flake8] |
| 140 | +ignore = [ |
| 141 | + "E221", |
| 142 | + "E226", |
| 143 | + "E262", |
| 144 | + "E265", |
| 145 | + "E501", |
| 146 | + "E704", |
| 147 | + "W504", |
| 148 | +] |
0 commit comments