-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
100 lines (89 loc) · 2.38 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
[tool.poetry]
name = "earsegmentationai"
version = "1.0.2"
description = "Pytorch Based - Efficient and Lightweight Ear Segmentation"
authors = ["Umit KACAR <[email protected]>","Onuralp SEZER <[email protected]>"]
maintainers = [
"Umit KACAR <[email protected]>",
"Onuralp SEZER <[email protected]>",
]
readme = "README.md"
packages = [{include = "earsegmentationai"}]
homepage = "https://github.com/umitkacar/Ear-segmentation-ai"
repository = "https://github.com/umitkacar/Ear-segmentation-ai"
documentation = "https://github.com/umitkacar/Ear-segmentation-ai/blob/main/README.md"
keywords = ["pytorch","ear","segmentation","ear-segmentation","segmentation_models","ear detection","detection"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: X11 Applications",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
poethepoet = "^0.18.1"
numpy = "1.24.1"
pillow = "9.3.0"
opencv-python = "^4.6.0.66"
albumentations = "^1.3.0"
imgviz = "^1.7.2"
torch = "^1.13.1"
torchvision = "^0.14.1"
segmentation-models-pytorch = "^0.3.2"
requests = "^2.28.2"
tqdm = "^4.65.0"
click = "^8.1.3"
typer = "^0.7.0"
colorama = "^0.4.6"
commonmark = "^0.9.1"
pygments = "^2.14.0"
rich = "^13.3.1"
shellingham = "^1.5.0.post1"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
mypy = "^0.991"
bandit = "^1.7.5"
debugpy = "^1.6.6"
rope = "^1.7.0"
wheel = "^0.38.4"
setuptools = "^67.6.0"
coverage = "^7.2.2"
pre-commit = "^3.2.1"
pyupgrade = "^3.3.1"
types-requests = "^2.28.11.16"
ruff = "^0.0.241"
[tool.poe.tasks]
pytorch_cpu = "pip3 install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu"
[tool.pytest.ini_options]
addopts = "--black --isort --flake8"
flake8-max-line-length = 79
[tool.isort]
line_length = 79
profile = "black"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.bandit]
tests = ["B201", "B301"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
earsegmentationai = "earsegmentationai.main:app"