-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
97 lines (88 loc) · 2.48 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
[tool.poetry]
name = "sdss-flicamera"
version = "0.6.1a0"
description = "A library to control Finger Lakes Instrumentation cameras."
authors = ["José Sánchez-Gallego <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
homepage = "https://github.com/sdss/flicamera"
repository = "https://github.com/sdss/flicamera"
documentation = "https://sdss-flicamera.readthedocs.io/en/latest/"
keywords = ["astronomy", "software"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [
{ include = "flicamera" }
]
include = [
{path = "flicamera/etc/*"},
{path = "cextern/**/*", format='sdist'},
{path = "flicamera/*.so", format = "wheel"}
]
[tool.poetry.build]
script = "build.py"
generate-setup-file = false
[tool.poetry.scripts]
flicamera = "flicamera.__main__:main"
[tool.poetry.dependencies]
python = "^3.8,<4.0"
sdss-basecam = "^0.7.2"
sdsstools = ">=0.5.2"
click_default_group = "^1.2.2"
photutils = "^1.0.2"
scipy = "^1.9.1"
[tool.poetry.dev-dependencies]
ipython = ">=8.0.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.0.15"
coverage = {version = ">=5.0", extras = ["toml"]}
ipdb = ">=0.12.3"
taskipy = ">=1.1.2"
autopep8 = ">=1.5.4"
Sphinx = ">=4.0.0"
sphinx-copybutton = ">=0.3.1"
sphinx-click = ">=2.3.0"
black = {version = ">=20.8b1", allow-prereleases = true}
myst-parser = {version = ">=0.14.0"}
furo = ">=2021.7.5-beta.38"
[tool.black]
line-length = 88
target-version = ['py38']
fast = true
[tool.isort]
profile = "black"
sections = ["FUTURE", "STDLIB", "TYPING", "THIRDPARTY", "SDSS", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
known_first_party = "archon"
known_typing = ["typing"]
known_sdss = ["sdsstools", "clu", "basecam"]
lines_after_imports = 2
[tool.pytest.ini_options]
addopts = "--cov flicamera --cov-report xml --cov-report html --cov-report term"
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
include = ["flicamera/*"]
omit = [
"*/__init__.py",
"flicamera/__main__.py",
"flicamera/actor.py",
"flicamera/mock.py"
]
[build-system]
requires = ["poetry-core>=1.1.0", "setuptools>=67.8.0"]
build-backend = "poetry.core.masonry.api"