diff --git a/pyproject.toml b/pyproject.toml index f935f7e..fa324a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ diff --git a/tfscripts/__about__.py b/tfscripts/__about__.py index c18db77..546a541 100644 --- a/tfscripts/__about__.py +++ b/tfscripts/__about__.py @@ -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__ = "mirco.huennefeld@tu-dortmund.de" __description__ = "Collection of TF functions and helpful additions" -__url__ = "https://github.com/mhuen/TFScripts" +__url__ = "https://github.com/icecube/TFScripts" diff --git a/tfscripts/__init__.py b/tfscripts/__init__.py index 56d8193..6cb1dab 100644 --- a/tfscripts/__init__.py +++ b/tfscripts/__init__.py @@ -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