Skip to content

Commit

Permalink
Use hatch vcs for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
drisspg committed Aug 17, 2024
1 parent 043a4a3 commit 48a60de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# pyproject.toml

[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
name = "attn_gym"
version = "0.0.1"
authors = [{ name = "Driss Guessous", email = "drisspguessous@gmail.com" }]
description = "Helpful tools and examples for working with flex-attention"
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
Expand Down Expand Up @@ -41,6 +41,8 @@ viz = [
]

# ---------- TOOL CONFIGURATIONS ------------
[tool.hatch.version]
source = "vcs"

# ---------- RUFF ------------
[tool.ruff]
Expand Down Expand Up @@ -74,6 +76,7 @@ exclude = [
"node_modules",
"site-packages",
"venv",
"*.ipynb",
]

[tool.ruff.lint]
Expand Down

0 comments on commit 48a60de

Please sign in to comment.