From 0cecac24a226db02d0c6c4a27f625c5a113ac754 Mon Sep 17 00:00:00 2001 From: caleb15 Date: Wed, 10 Jun 2020 22:39:08 -0700 Subject: [PATCH] update repo/package name --- README.md | 4 ++-- healthchecks_manager/manager.py | 4 ++-- setup.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e9e90a3..ffa5ad6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# python-package-boilerplate [![CircleCI](https://circleci.com/gh/15five/python-circleci-package-boilerplate.svg?style=svg&circle-token=f6c8494ec308088a8a65fe79e366763b02b38d9b)](https://circleci.com/gh/15five/python-package-boilerplate) [![PyPI version](https://badge.fury.io/py/python-package-boilerplate.svg)](https://badge.fury.io/py/python-package-boilerplate) +# python-circleci-package-boilerplate [![CircleCI](https://circleci.com/gh/15five/python-circleci-package-boilerplate.svg?style=svg&circle-token=f6c8494ec308088a8a65fe79e366763b02b38d9b)](https://circleci.com/gh/15five/python-circleci-package-boilerplate) [![PyPI version](https://badge.fury.io/py/python-circleci-package-boilerplate.svg)](https://badge.fury.io/py/python-circleci-package-boilerplate) boilerplate repo you can use as a base for your python package. ## Features: @@ -8,7 +8,7 @@ boilerplate repo you can use as a base for your python package. ## To Use: 1. Copy Repo -2. Replace all instances of "python-package-boilerplate" with your package name +2. Replace all instances of "python-circleci-package-boilerplate" with your package name 3. Replace "healthchecks_manager" folder name with package name. Do search/replace as well. 4. Go over setup.py and configure it to your liking 4. Replace code & tests diff --git a/healthchecks_manager/manager.py b/healthchecks_manager/manager.py index ae5d14a..7a38e47 100644 --- a/healthchecks_manager/manager.py +++ b/healthchecks_manager/manager.py @@ -39,7 +39,7 @@ def create_check(check_name: str, creation_params: dict = {}): channel_name = channel["name"].lower() if channel_name in channels_by_name: raise ValueError( - f"python-package-boilerplate requires all channel names to be unique for identifcation purposes. \ + f"python-circleci-package-boilerplate requires all channel names to be unique for identifcation purposes. \ {channel}\n\nis a duplicate of channel with id {channels_by_name[channel_name]}" ) channels_by_name[channel_name] = channel["id"] @@ -72,7 +72,7 @@ def get_endpoint(check_name: str, creation_params: dict = {}): # todo: only raise error if duplicate check_name # we don't want everything to fail if there is a single duplicate raise ValueError( - f"python-package-boilerplate requires all check names to be unique for identifcation purposes. \ + f"python-circleci-package-boilerplate requires all check names to be unique for identifcation purposes. \ {check}\n\nis a duplicate of check with ping_url {checks_by_name[existing_check_name]}" ) checks_by_name[existing_check_name] = check["ping_url"] diff --git a/setup.py b/setup.py index ee05ea4..71711be 100644 --- a/setup.py +++ b/setup.py @@ -6,11 +6,11 @@ setup( - name="python-package-boilerplate", + name="python-circleci-package-boilerplate", version=VERSION, description="Your description here", long_description="see repo for readme", - url="https://github.com/15five/python-package-boilerplate", + url="https://github.com/15five/python-circleci-package-boilerplate", author="Your name here", author_email="Your email here", license="MIT",