-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (59 loc) · 1.37 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
[tool.poetry]
name = "visprompt"
version = "0.1.5"
description = "Repository and basic GUI for experimenting with visual prompting based on SAM and segGPT."
authors = ["mschnei"]
homepage = "https://github.com/MSchnei/visprompt"
packages = [ {include = "visprompt"} ]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
opencv-contrib-python-headless = "*"
click = "*"
numpy = "*"
pillow = "*"
opencv-python-headless = "*"
torchvision = "*"
torch = "*"
transformers = "*"
tqdm = "*"
pyside6 = "^6.5.2"
pyzmq = "26.0.0" # pin version because latest release is broken
[tool.poetry.dev-dependencies]
black = "*"
isort= "*"
flake8 = "*"
pre-commit = "*"
bumpversion = "*"
ipykernel = "*"
coverage = "*"
pytest = "*"
pytest-black = "*"
pytest-cov = "*"
pytest-flake8 = "*"
pytest-isort = "*"
pytest-xdist = "*"
taskipy = "*"
[tool.taskipy.tasks]
gui = "python visprompt/gui/image_drawer.py"
inference_sam = "python visprompt/segmentation/run_inference_sam_cli.py"
inference_seggpt = "python visprompt/segmentation/run_inference_seggpt_cli.py"
bumpversion = "poetry run bumpversion patch && git push && git push --tags"
[tool.black]
line-length = 79
include = "\\.pyi?$"
exclude = """
/(
\\.git
| \\.tox
| \\.venv
| tmp
)/
"""
[tool.isort]
profile = "black"
line_length = 79
multi_line_output = 3
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"