-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
73 lines (65 loc) · 1.93 KB
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
[tool.poetry]
name = "tfimm"
version = "0.2.14"
description = "TensorFlow port of PyTorch Image Models (timm) - image models with pretrained weights"
authors = ["Martins Bruveris <martins.bruveris@gmail.com>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/martinsbruveris/tensorflow-image-models"
repository = "https://github.com/martinsbruveris/tensorflow-image-models"
keywords = ["tensorfow", "pretrained models", "visual transformer"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = [
"CHANGELOG.md",
"LICENSE",
]
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
markdown = "^3.3.6" # 3.3.5 has a bug with poetry
numpy = "*"
tensorflow = "^2.8"
# Documentation
sphinx = { version = "*", optional = true }
sphinx-rtd-theme = { version = "*", optional = true }
[tool.poetry.dev-dependencies]
black = { version = "*", allow-prereleases = true }
flake8 = "*"
isort = "*"
pytest = "*"
pytest-timeout = "*"
pytest-xdist = "*"
[tool.poetry.extras]
# To compile documentation
docs = ["sphinx", "sphinx-rtd-theme"]
[tool.pytest.ini_options]
timeout = 60 # We need tests to be not too slow, because of GitHub limits
[tool.black]
line-length = 88
include = "\\.pyi?$"
exclude = """
/(
\\.git
| \\.tox
| \\.venv
| tmp
)/
"""
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"