Commit ddab4eeb authored by Richard Berger's avatar Richard Berger
Browse files

Remove SHA1 utility used in doc Makefile

parent 574e4067
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
# Makefile for LAMMPS documentation

SHELL         = /bin/bash
SHA1          = $(shell echo ${USER}-${PWD} | python utils/sha1sum.py)
BUILDDIR      = ${PWD}
RSTDIR        = $(BUILDDIR)/rst
VENV          = $(BUILDDIR)/docenv

doc/utils/sha1sum.py

deleted100755 → 0
+0 −7
Original line number Diff line number Diff line
#!/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())