Remove SHA1 utility used in doc Makefile

This commit is contained in:
Richard Berger
2019-08-22 11:34:29 -06:00
parent 574e4067dc
commit ddab4eeb1a
2 changed files with 0 additions and 8 deletions

View File

@ -1,7 +1,6 @@
# Makefile for LAMMPS documentation # Makefile for LAMMPS documentation
SHELL = /bin/bash SHELL = /bin/bash
SHA1 = $(shell echo ${USER}-${PWD} | python utils/sha1sum.py)
BUILDDIR = ${PWD} BUILDDIR = ${PWD}
RSTDIR = $(BUILDDIR)/rst RSTDIR = $(BUILDDIR)/rst
VENV = $(BUILDDIR)/docenv VENV = $(BUILDDIR)/docenv

View File

@ -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())