Skip to content

Commit

Permalink
add pyproject.toml
Browse files Browse the repository at this point in the history
setup.py develop is deprecated. pip 25.0 will enforce this behaviour change. Discussion can be found at pypa/pip#11457
  • Loading branch information
YushunXiang committed Dec 3, 2024
1 parent 3457474 commit f1ec829
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "alpha_clip"
version = "1.0"
description = ""
authors = [
{ name = "OpenAI&ZeyiSun" }
]
dependencies = [
"ftfy",
"regex",
"tqdm",
"torch",
"torchvision"
]

[tool.setuptools.packages.find]
exclude = ["tests*"]

[project.optional-dependencies]
dev = ["pytest"]

0 comments on commit f1ec829

Please sign in to comment.