Skip to content

Commit

Permalink
Merge pull request #3 from PyMoDAQ/v4_adapted
Browse files Browse the repository at this point in the history
update publish
  • Loading branch information
seb5g authored May 14, 2024
2 parents ba92d4e + 4d99f91 commit 573adbb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine toml
pip install setuptools wheel twine toml "pymodaq>=4.1.0" pyqt5
- name: create local pymodaq folder and setting permissions
run: |
sudo mkdir /etc/.pymodaq
sudo chmod uo+rw /etc/.pymodaq
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion plugin_info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license = 'MIT'

[plugin-install]
#packages required for your plugin:
packages-required = ['pymeasure', 'pymodaq>=4.0']
packages-required = ['pymeasure', 'pymodaq>=4.1']

[features] # defines the plugin features contained into this plugin
instruments = true # true if plugin contains instrument classes (else false, notice the lowercase for toml files)
Expand Down

0 comments on commit 573adbb

Please sign in to comment.