-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autopublish when released using github actions
- Loading branch information
Showing
3 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This workflow will upload a Python Package using Twine when a release is created | ||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | ||
|
||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine toml | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
# PyMoDAQ Plugins | ||
pymodaq_plugins_newport (Newport Instruments) | ||
############################################# | ||
|
||
PyMoDAQ, Modular Data Acquisition with Python, is a set of **python** modules used to perform automated measurements. | ||
.. image:: https://img.shields.io/pypi/v/pymodaq_plugins_newport.svg | ||
:target: https://pypi.org/project/pymodaq_plugins_newport/ | ||
:alt: Latest Version | ||
|
||
This repository contains various hardware plugins compatible with PyMoDAQ | ||
.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=latest | ||
:target: https://pymodaq.readthedocs.io/en/stable/?badge=latest | ||
:alt: Documentation Status | ||
|
||
For an exhaustive list of the available plugins, see https://docs.google.com/spreadsheets/d/1wfMfvLwTitZd2R2m1O5i6wVEaX1lJBahP2HUbxVdidg | ||
.. image:: https://github.com/CEMES-CNRS/pymodaq_plugins_newport/workflows/Upload%20Python%20Package/badge.svg | ||
:target: https://github.com/CEMES-CNRS/pymodaq_plugins_newport | ||
|
||
GitHub repo: https://github.com/CEMES-CNRS | ||
PyMoDAQ plugin for instruments from Newport (Conex, ESP100,...) | ||
|
||
Documentation: http://pymodaq.cnrs.fr/ | ||
|
||
Authors | ||
======= | ||
|
||
* Sebastien J. Weber | ||
|
||
Instruments | ||
=========== | ||
Below is the list of instruments included in this plugin | ||
|
||
Actuators | ||
+++++++++ | ||
|
||
* **Conex**: Piezo actuators from the CONEX-AGAP series" | ||
* **Newport_ESP100**: ESP100 motion controllers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
from os.path import abspath, dirname | ||
|
||
|
||
VERSION = (0, 0, 2, 'final', 0) | ||
VERSION = (0, 0, 3, 'final', 0) | ||
|
||
|
||
|
||
|