-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
104 lines (95 loc) · 2.65 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[tool.poetry]
name = "sdss-valis"
version = "0.1.1-alpha"
description = "the SDSS API for delivering and accessing remote information"
authors = ["Brian Cherinka <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
homepage = "https://github.com/sdss/valis"
repository = "https://github.com/sdss/valis"
documentation = "https://sdss-valis.readthedocs.org"
keywords = ["astronomy", "software"]
classifiers = [
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [
{ include = "valis", from = "python" }
]
include = ["python/valis/etc/*", "cextern/**/*", "LICENSE.md"]
[tool.poetry.scripts]
valis = "valis.cli:main"
[tool.poetry.dependencies]
python = "~3.10"
sdss-tree = "^4.0.0"
sdss-access = "^3.0.0"
sdsstools = "^1.0.0"
Sphinx = {version="^3.0.0", optional=true}
fastapi = {extras = ["all"], version = "^0.104.0"}
uvicorn = "^0.22.0"
gunicorn = "^20.1.0"
astropy = "^5.2.0"
aiofiles = "^0.5.0"
orjson = "^3.9.0"
fastapi-restful = {extras = ["all"], version = "^0.5.0"}
python-multipart = "^0.0.5"
httpx = "^0.24.0"
astroquery = "^0.4.6"
pandas = "^1.5.3"
SQLAlchemy = "^1.4.35"
sdssdb = "^0.13.1"
deepmerge = "^1.1.1"
fuzzy-types = "^0.1.3"
sdss-solara = {git = "https://github.com/sdss/sdss_solara.git", rev = "main", optional = true}
markdown = "^3.7"
[tool.poetry.dev-dependencies]
ipython = ">=7.11.0"
matplotlib = ">=3.1.1"
flake8 = ">=3.7.9"
doc8 = ">=0.8.0"
pytest = ">=5.2.2"
pytest-asyncio = ">=0.10.0"
pytest-cov = ">=2.8.1"
pytest-mock = ">=1.13.0"
pytest-sugar = ">=0.9.2"
isort = ">=4.3.21"
codecov = ">=2.1.10"
coverage = {version = ">=5.0", extras = ["toml"]}
ipdb = ">=0.12.3"
rstcheck = "^3.3.1"
pylama = "^7.7.1"
pylint = "^2.6.0"
[tool.poetry.extras]
docs = ["Sphinx"]
solara = ["sdss-solara"]
[tool.isort]
line_length = 79
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "SDSS", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
known_first_party = "valis"
known_sdss_party = ["sdsstools"]
balanced_wrapping = true
include_trailing_comma = false
lines_after_imports = 2
use_parentheses = true
[tool.pytest.ini_options]
addopts = "--cov valis --cov-report xml --cov-report html --cov-report term"
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
include = ["python/valis/*"]
omit = [
"*/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
]
[build-system]
build-backend = "poetry.masonry.api"
requires = ["poetry>=1.0.0"]