Skip to content

Commit

Permalink
versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wgifford committed May 28, 2024
1 parent bb125c1 commit f1a68de
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,7 @@ notebooks/thinklab/checkpoint/**
/tsfmhfdemos/neurips/models/

# Checkpoints
*.checkpoint-*/
*.checkpoint-*/

# Version
/tsfm_public/_version.py
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[build-system]
requires = ["setuptools>=66", "wheel", "Cython"]
requires = ["setuptools>=66", "wheel", "Cython", "setuptools-scm>=8.0"]

[project]
name = "tsfm_public"
requires-python = ">=3.9,<3.12"
version = "0.0.1"
# version = "0.0.1"
dynamic = ["version"]
authors = [{ name = "IBM" }]
description = "Public notebooks and utilities for TSFM"
readme = "README.md"
Expand Down Expand Up @@ -45,6 +46,9 @@ demos = [
# ###################################################


[tool.setuptools_scm]
version_file = "tsfm_public/_version.py"

[tool.ruff]
# Never enforce `E501` (line length violations).
ignore = ["C901", "E501", "E741", "F402", "F823" ]
Expand Down
2 changes: 2 additions & 0 deletions tsfm_public/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Copyright contributors to the TSFM project
#

from .version import __version__, __version_tuple__

0 comments on commit f1a68de

Please sign in to comment.