Skip to content
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
29 changes: 4 additions & 25 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Publish Python distribution to PyPI

on: push
on:
push:
tags:
- v*

jobs:
build:
Expand Down Expand Up @@ -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/
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:Embeint/python-tools.git
pip install -e python-tools
pip install infuse-iot
```

## Register Autocomplete
Expand Down Expand Up @@ -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
Expand Down
Loading