From 8f258ae0b8d96cf22172ddb397bcda0da8541a1e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Thu, 16 Mar 2017 12:16:59 -0400 Subject: [PATCH] remove pipstrip --- bin/steps/pipenv | 1 - vendor/pipstrip | 15 --------------- 2 files changed, 16 deletions(-) delete mode 100755 vendor/pipstrip diff --git a/bin/steps/pipenv b/bin/steps/pipenv index 622c7613..60b64305 100644 --- a/bin/steps/pipenv +++ b/bin/steps/pipenv @@ -5,6 +5,5 @@ if [[ -f Pipfile ]]; then /app/.heroku/python/bin/pip install pipenv --upgrade &> /dev/null /app/.heroku/python/bin/pipenv lock --requirements --no-hashes > $BUILD_DIR/requirements.txt 2> /dev/null - pipstrip requirements.txt fi fi \ No newline at end of file diff --git a/vendor/pipstrip b/vendor/pipstrip deleted file mode 100755 index 67cd0494..00000000 --- a/vendor/pipstrip +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python - -import sys - -req_file = sys.argv[1] - -lines = [] - -with open(req_file, 'r') as f: - r = f.readlines() - for l in r: - lines.append(l.split('--hash')[0]) - -with open(req_file, 'w') as f: - f.write('\n'.join(lines)) -- GitLab