Skip to content

Commit

Permalink
Hardcode version to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed Jun 27, 2023
1 parent b50fe87 commit 3a9a2b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ def build_extension(self, ext: CMakeExtension) -> None:
extra_args["ENABLE_CUDA"] = "OFF"

extra_args["CMAKE_PREFIX_PATH"] = torch.utils.cmake_prefix_path
tag = git.Repo(search_parent_directories=True).git.describe("--tags", always=True)
version = tag.lstrip('v').split('-')[0]
#tag = git.Repo(search_parent_directories=True).git.describe("--tags", always=True)
#version = tag.lstrip('v').split('-')[0]
version = "0.5"
setup(
name="nnpops",
version=version,
Expand Down

0 comments on commit 3a9a2b1

Please sign in to comment.