Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
Cleanse
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspinder committed Dec 20, 2022
1 parent 0da327b commit 055f537
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions jaxutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

from .pytree import PyTree
from .data import Dataset, verify_dataset
from . import _version

__version__ = _version.get_versions()["version"]
__authors__ = "Thomas Pinder, Daniel Dodd"
__license__ = "MIT"
__emails__ = "[email protected], [email protected]"
Expand All @@ -35,3 +33,7 @@
"Dataset",
"verify_dataset",
]

from . import _version

__version__ = _version.get_versions()["version"]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ VCS = git
style = pep440
versionfile_source = jaxutils/_version.py
versionfile_build = jaxutils/_version.py
tag_prefix = ''
tag_prefix = v

[flake8]
exclude =
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@


# Handle builds of nightly release - adapted from BlackJax.
if "BUILD_JAXUTILS_NIGHTLY" in os.environ:
if os.environ["BUILD_JAXUTILS_NIGHTLY"] == "nightly":
NAME += "-nightly"
# if "BUILD_JAXUTILS_NIGHTLY" in os.environ:
# if os.environ["BUILD_JAXUTILS_NIGHTLY"] == "nightly":
# NAME += "-nightly"

REQUIRES = ["jax>=0.4.0", "jaxlib>=0.4.0", "jaxtyping"]

Expand All @@ -42,7 +42,7 @@


setup(
name="JaxUtils",
name=NAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Daniel Dodd and Thomas Pinder",
Expand Down

0 comments on commit 055f537

Please sign in to comment.