diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml new file mode 100644 index 0000000..fcf6bd2 --- /dev/null +++ b/.github/workflows/publish-to-pypi.yml @@ -0,0 +1,28 @@ +name: Publish to PyPI +on: + push: + tags: + - 'v*' +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.11' + + - name: Install dependencies + run: pip install setuptools wheel twine build + + - name: Build package + run: python -m build + + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@v1.4.2 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/python-package.yaml b/.github/workflows/testing.yaml similarity index 100% rename from .github/workflows/python-package.yaml rename to .github/workflows/testing.yaml diff --git a/LDAQ/__init__.py b/LDAQ/__init__.py index f45be98..8888830 100644 --- a/LDAQ/__init__.py +++ b/LDAQ/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.0.0" +__version__ = "1.0.3" from .utils import * from .core import Core from .visualization import * diff --git a/README.rst b/README.rst index 459ca68..77dd994 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,19 @@ -Project Description -=================== +LDAQ +==== + +Data acquisition and generation with live visualization. .. image:: /docs/source/getting_started.gif :alt: demo_gif +Installation +============ + +The package can be installed from PyPI using pip: +.. code-block:: + + pip install LDAQ + Getting started =============== diff --git a/pyproject.toml b/pyproject.toml index c3dfcaf..0941783 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "LDAQ" -version = "1.0.0" +version = "1.0.3" authors = [{name = "Tilen Košir, Klemen Zaletelj, Janko Slavič", email = "janko.slavic@fs.uni-lj.si"}] maintainers = [{name = "Tilen Košir, Klemen Zaletelj", email = "klemen.zaletelj@fs.uni-lj.si"}] license = "MIT"