Skip to content

Commit

Permalink
Update pypi release action.
Browse files Browse the repository at this point in the history
The package name is `bayeux`, but the project name on pypi is `bayeux-ml`.

PiperOrigin-RevId: 592551676
  • Loading branch information
ColCarroll authored and The bayeux Authors committed Dec 20, 2023
1 parent 87ac0eb commit b6bd3bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pytest_and_autopublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ jobs:
pypi-token: ${{ secrets.PYPI_API_TOKEN }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
parse-changelog: true
pkg-name: bayeux_ml
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "bayeux"
name = "bayeux-ml"
description = "Stitching together probabilistic models and inference."
readme = "README.md"
requires-python = ">=3.9"
Expand Down Expand Up @@ -33,6 +33,11 @@ repository = "https://github.com/jax-ml/bayeux"
changelog = "https://github.com/jax-ml/bayeux/blob/main/CHANGELOG.md"
# documentation = ""

[tool.poetry]
packages = [
{ include = "bayeux" },
]

[project.optional-dependencies]
# Development deps (unittest, linting, formating,...)
# Installed through `pip install -e .[dev]`
Expand All @@ -56,6 +61,9 @@ pyink-use-majority-quotes = true
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"

[tool.flit.module]
name = "bayeux"

[tool.flit.sdist]
# Flit specific options (files to exclude from the PyPI package).
# If using another build backend (setuptools, poetry), you can remove this
Expand Down

0 comments on commit b6bd3bc

Please sign in to comment.