Something went wrong. Try again.
lol
Something went wrong. Try again.
441 B · 19 lines
at master
1234567891011121314151617181920diff --git a/setup.py b/setup.pyindex 513b435..2178018 100644--- a/setup.py+++ b/setup.py@@ -133,13 +133,7 @@ ext_modules.append( ) ) -try:- cmd = ['git', 'rev-parse', '--short', 'HEAD']- rev = '+' + subprocess.check_output(cmd).decode('ascii').rstrip()-except Exception as _:- now = datetime.now()- date_time_str = now.strftime("%Y-%m-%d-%H-%M-%S")- rev = '+' + date_time_str+rev = "@git_rev@" setup(