From ddab4eeb1a62c81663cc4326429e7f2f88c7395c Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Thu, 22 Aug 2019 11:34:29 -0600 Subject: [PATCH] Remove SHA1 utility used in doc Makefile --- doc/Makefile | 1 - doc/utils/sha1sum.py | 7 ------- 2 files changed, 8 deletions(-) delete mode 100755 doc/utils/sha1sum.py diff --git a/doc/Makefile b/doc/Makefile index 4e8b361fdc..3b9d25694d 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,6 @@ # Makefile for LAMMPS documentation SHELL = /bin/bash -SHA1 = $(shell echo ${USER}-${PWD} | python utils/sha1sum.py) BUILDDIR = ${PWD} RSTDIR = $(BUILDDIR)/rst VENV = $(BUILDDIR)/docenv diff --git a/doc/utils/sha1sum.py b/doc/utils/sha1sum.py deleted file mode 100755 index d4842ecf1a..0000000000 --- a/doc/utils/sha1sum.py +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/env python -# simple utility which reimplements sha1sum using Python -import hashlib -import sys -s = hashlib.sha1() -s.update(sys.stdin.read().encode()) -print(s.hexdigest())