forked from oist/optinist
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
135 lines (122 loc) · 3.2 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[tool.poetry]
name = "optinist"
description = "Calcium Imaging Pipeline Tool"
version = "1.2.1"
license = "GPL-3.0"
authors = ["OIST <email@example.com>"]
readme = "README.md"
documentation = "https://optinist.readthedocs.io"
repository = "https://github.com/oist/optinist"
keywords = ["optinist"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
]
packages = [{ include = "studio" }]
include = [
"frontend/build/*",
"frontend/build/static/*",
"frontend/build/static/css/*",
"frontend/build/static/js/*",
"frontend/build/static/media/*",
"studio/app/optinist/core/nwb/nwb.yaml",
"studio/app/common/core/snakemake/snakemake.yaml",
"studio/app/*/wrappers/**/*.yaml",
"studio/app/Snakefile",
"studio/config/*.yaml",
"sample_data/input/*",
"sample_data/output/**/*.yaml",
]
exclude = [
"studio/tests/*",
"studio/test_data/*",
"conda.env.*",
"studio/app/optinist/microscopes/libs.zip",
]
[tool.poetry.dependencies]
python = "^3.8.1"
fastapi = "0.104.*"
uvicorn = "0.24.*"
numpy = { version = ">=1.23, <1.27" }
aiofiles = "*"
tqdm = "*"
pyyaml = "*"
imageio = "*"
tifffile = "*"
python-multipart = "*"
future = "*"
pynwb = "2.2.0"
psutil = "*"
nbstripout = "*"
snakemake = { version = ">=7.24, <7.31" }
jinja2 = "3.1.*"
httpx = "*"
firebase_admin = "*"
pyrebase4 = "4.7.1"
pydantic = { version = "1.10.13", extras = ["email", "dotenv"] }
python-jose = { version = "*", extras = ["cryptography"] }
alembic = "1.9.2"
sqlmodel = "0.0.12"
pymysql = "1.1.0"
fastapi_pagination = "0.12.13"
plotly = "5.18.0"
kaleido = "0.2.1"
filelock = "*"
ruamel-yaml = "^0.18.5"
pymatreader = "^0.0.32"
xmltodict = "*"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "23.11"
flake8 = "6.1.*"
isort = "*"
pre-commit = "*"
codespell = "*"
[tool.poetry.group.doc]
optional = true
[tool.poetry.group.doc.dependencies]
sphinx = "7.1.2"
sphinxcontrib-apidoc = "*"
sphinx-rtd-theme = "^1.3.0"
sphinx-prompt = "*"
sphinx-autodoc-typehints = "*"
sphinx-copybutton = "0.5.2"
sphinx-autobuild = "2021.3.14"
myst-parser = "*"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-env = "*"
[tool.poetry.scripts]
run_optinist = "studio.__main__:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
pythonpath = "."
testpaths = "studio/tests"
env = ["OPTINIST_DIR=studio/test_data"]
filterwarnings = [
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
"ignore:invalid escape sequence :DeprecationWarning",
]
markers = [
"lighter_processing",
"heavier_processing",
]
[tool.codespell]
skip = './frontend/build,./frontend/node_modules,./docs/_build,*.lock,*log,*.egg-info'
ignore-words = '.codespellignore'