Skip to content

Commit

Permalink
use setuptools for automatically package detection
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoParola committed Mar 22, 2024
1 parent abddf15 commit 3b46071
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[metadata]
name = pytorch-sidu
version = 0.0.0
author = Marco Parola
author_email = [email protected]
description = SIDU Class Activation Map methods implemented in Pytorch.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/MarcoParola/pytorch-sidu
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: OS Independent
Development Status :: 4 - Beta

[options]
packages = find:
python_requires = >=3.6
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
url="https://github.com/MarcoParola/pytorch-sidu",
long_description=long_description,
long_description_content_type="text/markdown",
packages=["pytorch_sidu"],
#packages=["pytorch_sidu"],
packages=setuptools.find_packages(),
install_requires=[
"torch",
"torchvision",
Expand Down

0 comments on commit 3b46071

Please sign in to comment.