Skip to content

Commit

Permalink
Update project meta info
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuen committed Apr 10, 2024
1 parent a4dea60 commit 79c08c1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "tfscripts"
description = "Helper functions for tensorflow"
description = "Collection of TF functions and helpful additions"
readme = "README.md"
dynamic = ["version"]
authors = [
Expand Down
16 changes: 14 additions & 2 deletions tfscripts/__about__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
__version__ = "1.0.0-dev"
__description__ = "Collection of TF functions and helpful additions"

__version_major__ = 1
__version_minor__ = 0
__version_patch__ = 0
__version_info__ = "-dev"

__version__ = "{}.{}.{}{}".format(
__version_major__,
__version_minor__,
__version_patch__,
__version_info__,
)
__author__ = "Mirco Huennefeld"
__author_email__ = "[email protected]"
__description__ = "Collection of TF functions and helpful additions"
__url__ = "https://github.com/mhuen/TFScripts"
__url__ = "https://github.com/icecube/TFScripts"
21 changes: 20 additions & 1 deletion tfscripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
from tfscripts.__about__ import __version__, __description__, __url__
import tensorflow as tf

from .__about__ import (
__version_major__,
__version_minor__,
__version_patch__,
__version_info__,
__version__,
__description__,
__url__,
)

__all__ = [
"__version_major__",
"__version_minor__",
"__version_patch__",
"__version_info__",
"__version__",
"__description__",
"__url__",
"FLOAT_PRECISION",
]

# constants
FLOAT_PRECISION = tf.float32

0 comments on commit 79c08c1

Please sign in to comment.