Skip to content

Commit

Permalink
pipenv update
Browse files Browse the repository at this point in the history
  • Loading branch information
amancevice committed Jan 9, 2024
1 parent df34393 commit 71c7618
Show file tree
Hide file tree
Showing 4 changed files with 436 additions and 430 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
REPO := amancevice/pandas
PLATFORM := linux/amd64
PANDAS_VERSION := $(shell grep pandas Pipfile | grep -Eo '[0-9.]+')
PIPENV_VERSION := $(shell pipenv --version | grep -Eo '[0-9.]+')
PYTHON_VERSION := $(shell python --version | grep -Eo '[0-9.]+')
PYTHON_VERSION := $(shell pyenv local)

all: Pipfile.lock
all: requirements.txt requirements-dev.txt

clean:
docker image rm --force $(shell docker image ls --quiet $(REPO) | uniq | xargs)
Expand All @@ -20,14 +19,15 @@ Dockerfile.%: requirements.txt requirements-dev.txt

.PHONY: all clean push Dockerfile Dockerfile.%

requirements.txt:
requirements.txt: Pipfile.lock
pipenv requirements > requirements.txt

requirements-dev.txt:
requirements-dev.txt: Pipfile.lock
pipenv requirements --dev > requirements-dev.txt

Pipfile.lock: .venv
pipenv lock
Pipfile.lock: Pipfile | .venv
pipenv install --dev
touch $@

.venv: Pipfile
mkdir -p $@
Expand Down
Loading

0 comments on commit 71c7618

Please sign in to comment.