diff --git a/.github/workflows/workflow.yml b/.github/workflows/omero_plugin.yml similarity index 99% rename from .github/workflows/workflow.yml rename to .github/workflows/omero_plugin.yml index ad53413..e64686f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/omero_plugin.yml @@ -1,7 +1,7 @@ # Builds and performs various check --- -name: Build +name: OMERO on: push: diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml new file mode 100644 index 0000000..1eb4f8d --- /dev/null +++ b/.github/workflows/publish_pypi.yml @@ -0,0 +1,27 @@ +--- +name: PyPI +on: push + +jobs: + build-n-publish: + name: Build and publish Python distribution to PyPI + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: Build a binary wheel and a source tarball + run: | + python -mpip install build + python -m build + - name: Publish distribution to PyPI + if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_PASSWORD }} + - name: Create a GitHub release + if: startsWith(github.ref, 'refs/tags') + run: gh release create --generate-notes "${GITHUB_REF#refs/tags/}" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 00d1cde..371204b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,11 @@ OMEGO version history ===================== +0.8.0.rc1 (February 2026) +------------------------- + +* Fix build & remove pkg_resources (#137) + 0.7.0 (November 2019) --------------------- diff --git a/Makefile b/Makefile deleted file mode 100644 index 3f4a88a..0000000 --- a/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -release: - git describe --exact - python setup.py sdist upload --sign - -clean: - rm -rf build dist omego.egg-info *.pyc - -.PHONY: register clean diff --git a/Makefile_old b/Makefile_old new file mode 100644 index 0000000..6e670fc --- /dev/null +++ b/Makefile_old @@ -0,0 +1,8 @@ +# release: +# git describe --exact +# python setup.py sdist upload --sign + +# clean: +# rm -rf build dist omego.egg-info *.pyc + +# .PHONY: register clean diff --git a/omego/RELEASE-VERSION b/omego/RELEASE-VERSION index bdd03ff..54cb6ab 100644 --- a/omego/RELEASE-VERSION +++ b/omego/RELEASE-VERSION @@ -1 +1 @@ -0.7.1.dev +0.8.0.rc1