Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: setup build configuration #433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 32 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
"wheel",
"setuptools-git-versioning<2"
]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"

[project]
name = "grad-cam"
authors = [
{name = "Jacob Gildenblat", email = "jacob.gildenblat@gmail.com"}
]
description = "Many Class Activation Map methods implemented in Pytorch for classification, segmentation, object detection and more"
readme = "README.md"
requires-python = ">=3.6"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["version", "dependencies"]

[project.urls]
Homepage = "https://github.com/jacobgil/pytorch-grad-cam"
"Bug Tracker" = "https://github.com/jacobgil/pytorch-grad-cam/issues"

[tool.setuptools]
packages = ["pytorch_grad_cam"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[tool.setuptools-git-versioning]
enabled = true
19 changes: 0 additions & 19 deletions setup.cfg

This file was deleted.

29 changes: 0 additions & 29 deletions setup.py

This file was deleted.