forked from arayabrain/barebone-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
133 lines (120 loc) · 3.16 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
[tool.poetry]
name = "studio"
description = "analysis studio"
version = "1.3.0"
license = "GPL-3.0"
authors = ["Ohki Lab <[email protected]>"]
readme = "README.md"
documentation = "https://optinist.readthedocs.io"
repository = "https://github.com/arayabrain/optinist-for-server"
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/optinist/microscopes/libs.zip",
"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.*"]
[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"
zc-lockfile = "*"
lauda = "*"
opencv-python = "*"
pymatreader = "^0.0.32"
xmltodict = "*"
matplotlib = "==3.7.*"
scikit-image = "0.21"
[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",
"EXPDB_DIR=studio/test_data/dataset",
"PUBLIC_EXPDB_DIR=studio/test_data/dataset_public",
"GRAPH_HOST=http://localhost:8000/datasets",
"IS_TEST=True",
]
[tool.codespell]
skip = './frontend/build,./frontend/node_modules,./docs/_build,*.lock,*log,*.egg-info'
ignore-words = '.codespellignore'