Skip to content

Commit

Permalink
Merge pull request #3 from mbeacom/update-deps
Browse files Browse the repository at this point in the history
Update pip dependencies
  • Loading branch information
Mark Beacom authored Jun 20, 2019
2 parents 89207c9 + 8b905b4 commit fc49499
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 82 deletions.
4 changes: 4 additions & 0 deletions Dockerfile-py38
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ RUN apt-get -qq update && \
RUN pip install --upgrade pip && \
pip install --upgrade wheel setuptools twine pipenv && \
pipenv install --dev --system --deploy

RUN apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
23 changes: 22 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,34 @@

.PHONY: help

REPO_NAME := mbeacom/cloudendure-py
REPO_NAME := mbeacom/cloudendure-python
SHA1 := $$(git log -1 --pretty=%h)
CURRENT_BRANCH := $$(git symbolic-ref -q --short HEAD)

info: ## Show information about the current git state.
@echo "Github Project: https://github.com/${REPO_NAME}\nCurrent Branch: ${CURRENT_BRANCH}\nSHA1: ${SHA1}\n"

build: ## Build the Gitcoin Web image.
@docker build \
--stream \
--pull \
--build-arg BUILD_DATETIME=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg "SHA1=${SHA1}" \
${VERSION:+--build-arg "VERSION=$VERSION"} \
-t "${GIT_TAG}" .
@docker tag "${GIT_TAG}" "${LATEST_TAG}"

login: ## Login to Docker Hub.
@docker log -u "${DOCKER_USER}" -p "${DOCKER_PASS}"

push: ## Push the Docker image to the Docker Hub repository.
@docker push "${REPO_NAME}"

docker: ## Build and publish Docker images.
@docker build -t cloudendure .
@docker tag cloudendure mbeacom/cloudendure-python
@docker push

update_prereqs: ## Update the local development pre-requisite packages.
@pip install --upgrade pipenv wheel setuptools pip

Expand Down
173 changes: 94 additions & 79 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Python wrapper and CLI for CloudEndure

[Documentation](https://mbeacom.github.io/cloudendure-python/)

Package version: `0.0.2`
Package version: `0.0.3`

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
EMAIL: str = "[email protected]"
AUTHOR: str = "Mark Beacom"
REQUIRES_PYTHON: str = ">=3.6.0"
VERSION: str = "0.0.2"
VERSION: str = "0.0.3"

REQUIRED: List[str] = ["requests", "boto3"]
EXTRAS: Dict[str, List[str]] = {
Expand Down

0 comments on commit fc49499

Please sign in to comment.