diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 46513b3..963fc6e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,9 @@ name: Publish Python distribution to PyPI -on: push +on: + push: + tags: + - v* jobs: build: @@ -51,27 +54,3 @@ jobs: path: dist/ - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - - publish-to-testpypi: - name: Publish Python distribution to TestPyPI - needs: - - build - runs-on: ubuntu-latest - - environment: - name: testpypi - url: https://test.pypi.org/p/infuse_iot - - permissions: - id-token: write - - steps: - - name: Download all the dists - uses: actions/download-artifact@v4 - with: - name: python-package-distributions - path: dist/ - - name: Publish distribution to TestPyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ diff --git a/README.md b/README.md index c7f3673..30f8694 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,10 @@ ## Installation -Clone source code from Github and install as a local pip package. +Install from PyPI with ``pip`` or ``pipx``: ``` -git clone git@github.com:Embeint/python-tools.git -pip install -e python-tools +pip install infuse-iot ``` ## Register Autocomplete @@ -36,6 +35,8 @@ commands: credentials Manage Infuse-IoT credentials csv_annotate Annotate CSV data csv_plot Plot CSV data + data_logger_sync + Synchronise data logger state from remote devices gateway Connect to a local gateway device localhost Run a local server for TDF viewing native_bt Native Bluetooth gateway