Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up new workflow repo #1

Merged
merged 4 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "calico-data-eng@calicolabs.com"},
]
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
Loading