Skip to content
Snippets Groups Projects
Commit f22fc671 authored by Benedikt Burger's avatar Benedikt Burger
Browse files

Prepare release

parent 0860da76
No related branches found
Tags v0.2.0
No related merge requests found
# 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: Build and Upload Python Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.8.11
# CHANGELOG
## Unreleased
## [0.2.0] - 2024-05-07
_Restructured package for easier maintenance and extension._
_Completely restructured package for easier maintenance and extension._
**Full Changelog**: https://github.com/BenediktBurger/snlo-helper/compare/v0.1.0...v0.2.0
## 0.1.0 - 2024-04-17
## [0.1.0] - 2024-04-17
_Initial release_
[0.2.0]: https://github.com/BenediktBurger/snlo-helper/releases/tag/v0.2.0
[0.1.0]: https://github.com/BenediktBurger/snlo-helper/releases/tag/v0.1.0
......@@ -11,6 +11,13 @@ Attention:
- The autoclicker can be interrupted by moving the mouse into the top left corner of the screen.
Currently it supports the following functions (feel free to add more):
- Ref. Ind.
- 2D-mix-LP
- 2D-mix-SP
- Focus
## Installation
Install it executing `pip install -e .` in this folder or via `pip install git+https://git.rwth-aachen.de/nloqo/snlo-helper.git` to download it in the background and install it.
......@@ -54,4 +61,5 @@ For more examples see the `examples` folder.
## Contribution
You are welcome to contribute to this library. Just open an issue for suggestions or bug reports and open a pull request for code contributions.
You are welcome to contribute to this library.
Just open an issue for suggestions or bug reports and open a pull request for code contributions.
......@@ -2,7 +2,7 @@
name = "snlo-helper"
dynamic = ["version"]
authors = [
{name = "Benedikt Burger},
{name = "Benedikt Burger"},
]
description = "An autoclicker to automatically configure and read SNLO."
keywords = ["SNLO", "nonlinear optics", "simulation"]
......@@ -25,10 +25,16 @@ readme = "README.md"
full = ["numpy"]
[project.urls]
Repository = "https://github.com/BenediktBurger/snlo-helper"
Issues = "https://github.com/BenediktBurger/snlo-helper/issues"
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=7.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# write_to = "pyleco/_version.py"
[tool.ruff]
select = ["E", "F", "W"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment