april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
80 stars 4 forks source link

Upload package to pypi #296

Closed loreloc closed 4 weeks ago

loreloc commented 1 month ago

As per title.

lkct commented 1 month ago

Just to note that: based on my experience, the default github workflow for publishing suffices. (need to add pypi token to repo secrets)

We may add --wheel to build if we don't need sdist. (default builds both)

loreloc commented 1 month ago

What is the default github workflow? Shall we use this one? https://github.com/pypa/gh-action-pypi-publish

lkct commented 1 month ago

What is the default github workflow?

Click Actions tab on top of page -> Click New Workflow button on the left -> Choose Publish Python Package and Configure -> Modify build command (L34) if needed

loreloc commented 1 month ago

Alright, thanks. I have uploaded the workflow in the publish-package branch. I will try to configure it later.