-
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.
- Loading branch information
0 parents
commit 2f9faa4
Showing
12 changed files
with
841 additions
and
0 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,37 @@ | ||
__pycache__/ | ||
*.py[cod] | ||
build/ | ||
var/ | ||
dist/ | ||
*.egg-info | ||
*.eggs | ||
*.so | ||
.ipynb_checkpoints/ | ||
tmp/ | ||
include/ | ||
_eupspkg/ | ||
|
||
.sconsign.dblite | ||
config.log | ||
.sconf_temp | ||
*.o | ||
*.os | ||
*.cfgc | ||
*.pyc | ||
*_wrap.cc | ||
*Lib.py | ||
|
||
# Built by sconsUtils | ||
python/lsst/rubintv/analysis/service/version.py | ||
bin/ | ||
|
||
# Pytest | ||
tests/.tests | ||
pytest_session.txt | ||
.cache/ | ||
.pytest_cache | ||
.coverage | ||
|
||
# IDEs | ||
.idea | ||
.vscode |
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 @@ | ||
Copyright 2023 Association of Universities for Research in Astronomy |
Large diffs are not rendered by default.
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,6 @@ | ||
RubinTV Analysis Service | ||
------------------ | ||
|
||
A set of libraries and scripts for running the backend services for the rubin tv visual framework. | ||
|
||
More to come! |
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,4 @@ | ||
# -*- python -*- | ||
from lsst.sconsUtils import scripts | ||
# Python-only package | ||
scripts.BasicSConstruct("rubintv_analysis_service", disableCc=True, noCfgFile=True) |
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 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools<65", | ||
"lsst-versions >= 1.3.0", | ||
"wheel", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "rubintv_analysis_service" | ||
description = "A set of libraries and scripts for running the backend services for the rubin tv visual framework." | ||
version = "0.0.1" | ||
license = {text = "GPLv3+ License"} | ||
readme = "README.md" | ||
authors = [ | ||
{name="Rubin Observatory Data Management", email="[email protected]"}, | ||
] | ||
classifiers = [ | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Scientific/Engineering :: Astronomy", | ||
] | ||
keywords = ["lsst", "visualization"] | ||
dependencies = [ | ||
"numpy>=1.25.2", | ||
"scipy", | ||
"matplotlib", | ||
"pydantic", | ||
"pyyaml" | ||
] | ||
#dynamic = ["version"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/lsst/rubintv_analysis_service" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest >= 3.2", | ||
"flake8 >= 3.7.5", | ||
"pytest-flake8 >= 1.0.4", | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["python"] | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
license-files = ["LICENSE"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "lsst_versions.get_lsst_version" } | ||
|
||
[tool.black] | ||
line-length = 110 | ||
target-version = ["py311"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
line_length = 110 | ||
|
||
[tool.lsst_versions] | ||
write_to = "python/lsst/rubintv/analysis/service/version.py" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--flake8" | ||
flake8-ignore = ["W503", "E203"] | ||
# The matplotlib test may not release font files. | ||
open_files_ignore = ["*.ttf"] | ||
|
||
[tool.pydocstyle] | ||
convention = "numpy" | ||
# Our coding style does not require docstrings for magic methods (D105) | ||
# Our docstyle documents __init__ at the class level (D107) | ||
# We allow methods to inherit docstrings and this is not compatible with D102. | ||
# Docstring at the very first line is not required | ||
# D200, D205 and D400 all complain if the first sentence of the docstring does | ||
# not fit on one line. | ||
add-ignore = ["D107", "D105", "D102", "D100", "D200", "D205", "D400"] |
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,3 @@ | ||
import pkgutil | ||
|
||
__path__ = pkgutil.extend_path(__path__, __name__) |
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,3 @@ | ||
import pkgutil | ||
|
||
__path__ = pkgutil.extend_path(__path__, __name__) |
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,3 @@ | ||
import pkgutil | ||
|
||
__path__ = pkgutil.extend_path(__path__, __name__) |
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 @@ | ||
[flake8] | ||
max-line-length = 110 | ||
max-doc-length = 79 | ||
ignore = E133, E226, E228, N802, N803, N806, N812, N813, N815, N816, W504 | ||
exclude = | ||
bin, | ||
doc, | ||
**/*/__init__.py, | ||
**/*/version.py, | ||
tests/.tests | ||
|
||
[tool:pytest] |
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,6 @@ | ||
# -*- python -*- | ||
from lsst.sconsUtils import scripts | ||
# Run ingestIndexReferenceCatalog singly, because it spawns its own | ||
# multiprocess pool and we want to be careful that that does not interact | ||
# with the pytest pool. | ||
scripts.BasicSConscript.tests(pyList=[], pySingles=[]) |
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,10 @@ | ||
# List EUPS dependencies of this package here. | ||
# - Any package whose API is used directly should be listed explicitly. | ||
# - Common third-party packages can be assumed to be recursively included by | ||
# the "base" package. | ||
setupRequired(lsst_distrib) | ||
|
||
# The following is boilerplate for all packages. | ||
# See https://dmtn-001.lsst.io for details on LSST_LIBRARY_PATH. | ||
envPrepend(PYTHONPATH, ${PRODUCT_DIR}/python) | ||
envPrepend(PATH, ${PRODUCT_DIR}/bin) |