Skip to content

Commit

Permalink
Merge pull request #1 from calico/set-up-new-repo
Browse files Browse the repository at this point in the history
Set up new workflow repo
  • Loading branch information
jdp-seq authored Jul 1, 2024
2 parents 77527fd + f7eec77 commit 29035ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 142 deletions.
134 changes: 0 additions & 134 deletions .github/workflows/set-up-new-repo.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build/Release Python Package](https://github.com/calico/github-template-python-library/actions/workflows/release-new-version.yml/badge.svg?branch=main)](https://github.com/calico/github-template-python-library/actions/workflows/release-new-version.yml)
[![Python formatting and tests](https://github.com/calico/github-template-python-library/actions/workflows/run-tests-formatting.yml/badge.svg?branch=main)](https://github.com/calico/github-template-python-library/actions/workflows/run-tests-formatting.yml)
[![Validate prettier formatting](https://github.com/calico/github-template-python-library/actions/workflows/check-prettier-formatting.yml/badge.svg?branch=main)](https://github.com/calico/github-template-python-library/actions/workflows/check-prettier-formatting.yml)
[![Build/Release Python Package](https://github.com/calico/calicolabs-piccolo/actions/workflows/release-new-version.yml/badge.svg?branch=main)](https://github.com/calico/calicolabs-piccolo/actions/workflows/release-new-version.yml)
[![Python formatting and tests](https://github.com/calico/calicolabs-piccolo/actions/workflows/run-tests-formatting.yml/badge.svg?branch=main)](https://github.com/calico/calicolabs-piccolo/actions/workflows/run-tests-formatting.yml)
[![Validate prettier formatting](https://github.com/calico/calicolabs-piccolo/actions/workflows/check-prettier-formatting.yml/badge.svg?branch=main)](https://github.com/calico/calicolabs-piccolo/actions/workflows/check-prettier-formatting.yml)

# Github Template for Calico's Python Library

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["setuptools>=69.0.3", "setuptools_scm>=8.0.4"]
build-backend = "setuptools.build_meta"

[project]
name = "calicolabs-$HYPHENATED_PACKAGE_NAME"
description = "Python Library for $HYPHENATED_PACKAGE_NAME"
name = "calicolabs-piccolo"
description = "Python Library for piccolo"
authors = [
{name = "Calico Data Engineering Team", email = "[email protected]"},
]
Expand All @@ -27,7 +27,7 @@ dev = [
]

[project.urls]
Homepage = "https://github.com/calico/$HYPHENATED_PACKAGE_NAME"
"Bug Tracker" = "https://github.com/calico/$HYPHENATED_PACKAGE_NAME/issues"
Homepage = "https://github.com/calico/piccolo"
"Bug Tracker" = "https://github.com/calico/piccolo/issues"

[tool.setuptools_scm]
2 changes: 1 addition & 1 deletion src/package_name/__init__.py → src/piccolo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
__version__ = "0.0.0"

try:
__version__ = version("calicolabs-$HYPHENATED_PACKAGE_NAME")
__version__ = version("calicolabs-piccolo")
except PackageNotFoundError:
pass

0 comments on commit 29035ad

Please sign in to comment.