Skip to content

Commit

Permalink
Merge pull request #917 from adamjstewart/pyproject-toml
Browse files Browse the repository at this point in the history
Switch to pyproject.toml
  • Loading branch information
adamjstewart authored Sep 4, 2024
2 parents 4e95d87 + 080700d commit 25a6bd2
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 127 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

54 changes: 54 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[build-system]
requires = ['setuptools>=61']
build-backend = 'setuptools.build_meta'

[project]
name = 'segmentation_models_pytorch'
description = 'Image segmentation models with pre-trained backbones. PyTorch.'
readme = 'README.md'
requires-python = '>=3.9'
license = {file = 'LICENSE'}
authors = [{name = 'Pavel Iakubovskii', email = '[email protected]'}]
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
]
dependencies = [
'efficientnet-pytorch==0.7.1',
'huggingface-hub>=0.24.6',
'numpy',
'pillow',
'pretrainedmodels==0.7.4',
'six',
'timm==0.9.7',
'torch',
'torchvision>=0.5',
'tqdm',
]
dynamic = ['version']

[project.optional-dependencies]
docs = [
'autodocsumm',
'huggingface-hub',
'six==1.15.0',
'sphinx<7',
'sphinx-book-theme==1.1.2',
]
test = [
'mock',
'pytest',
'ruff==0.5.2',
]

[project.urls]
Homepage = 'https://github.com/qubvel-org/segmentation_models.pytorch'

[tool.setuptools.dynamic]
version = {attr = 'segmentation_models_pytorch.__version__.__version__'}

[tool.setuptools.packages.find]
include = ['segmentation_models_pytorch*']
126 changes: 0 additions & 126 deletions setup.py

This file was deleted.

0 comments on commit 25a6bd2

Please sign in to comment.