Skip to content

Commit 9457641

Browse files
committed
Switch to pyproject.toml
1 parent 4e95d87 commit 9457641

File tree

3 files changed

+52
-127
lines changed

3 files changed

+52
-127
lines changed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[build-system]
2+
requires = ['setuptools>=61']
3+
build-backend = 'setuptools.build_meta'
4+
5+
[project]
6+
name = 'segmentation_models_pytorch'
7+
description = 'Image segmentation models with pre-trained backbones. PyTorch.'
8+
readme = 'README.md'
9+
requires-python = '>=3.9'
10+
license = {file = 'LICENSE'}
11+
authors = [{name = 'Pavel Iakubovskii', email = '[email protected]'}]
12+
classifiers = [
13+
'License :: OSI Approved :: MIT License',
14+
'Programming Language :: Python',
15+
'Programming Language :: Python :: 3',
16+
'Programming Language :: Python :: Implementation :: CPython',
17+
'Programming Language :: Python :: Implementation :: PyPy',
18+
]
19+
dependencies = [
20+
'efficientnet-pytorch==0.7.1',
21+
'huggingface-hub>=0.24.6',
22+
'pillow',
23+
'pretrainedmodels==0.7.4',
24+
'six',
25+
'timm==0.9.7',
26+
'torchvision>=0.5',
27+
'tqdm',
28+
]
29+
dynamic = ['version']
30+
31+
[project.optional-dependencies]
32+
docs = [
33+
'autodocsumm',
34+
'huggingface-hub',
35+
'six==1.15.0',
36+
'sphinx<7',
37+
'sphinx-book-theme==1.1.2',
38+
]
39+
tests = [
40+
'mock',
41+
'pytest',
42+
'ruff==0.5.2',
43+
]
44+
45+
[project.urls]
46+
Homepage = 'https://github.com/qubvel-org/segmentation_models.pytorch'
47+
48+
[tool.setuptools.dynamic]
49+
version = {attr = 'segmentation_models_pytorch.__version'}
50+
51+
[tool.setuptools.packages.find]
52+
include = ['segmentation_models_pytorch*']

setup.py

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)