aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux-cpp-lisp <1473644+Linux-cpp-lisp@users.noreply.github.com>2021-11-17 15:58:34 -0500
committerLinux-cpp-lisp <1473644+Linux-cpp-lisp@users.noreply.github.com>2021-11-17 15:58:34 -0500
commit1a23d5ab63e66c7c60ce38a4508ecdbb3fd839fb (patch)
tree04e4732658fd6b41527ba17dc2afa248b25388ea
parentce73094b493c2fb12e113f1f729f7c876c447715 (diff)
fix version thing
-rw-r--r--setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 49b8704..0fdff25 100644
--- a/setup.py
+++ b/setup.py
@@ -3,13 +3,13 @@ from pathlib import Path
# see https://packaging.python.org/guides/single-sourcing-package-version/
version_dict = {}
-with open(Path(__file__).parents[0] / "torch_runstats/_version.py") as fp:
+with open(Path(__file__).parents[0] / "torch_ema/_version.py") as fp:
exec(fp.read(), version_dict)
version = version_dict["__version__"]
del version_dict
url = 'https://github.com/fadel/pytorch_ema'
-download_url = '{}/archive/{}.tar.gz'.format(url, __version__)
+download_url = '{}/archive/{}.tar.gz'.format(url, version)
install_requires = ["torch"]
setup_requires = []