pymodaq_plugins_acs_motion 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. pymodaq_plugins_acs_motion-1.0.2/.gitattributes +2 -0
  2. pymodaq_plugins_acs_motion-1.0.2/.github/workflows/Test.yml +10 -0
  3. pymodaq_plugins_acs_motion-1.0.2/.github/workflows/Testbase.yml +44 -0
  4. pymodaq_plugins_acs_motion-1.0.2/.github/workflows/compatibility.yml +78 -0
  5. pymodaq_plugins_acs_motion-1.0.2/.github/workflows/python-publish.yml +40 -0
  6. pymodaq_plugins_acs_motion-1.0.2/.github/workflows/updater.yml +23 -0
  7. pymodaq_plugins_acs_motion-1.0.2/.gitignore +116 -0
  8. pymodaq_plugins_acs_motion-1.0.2/LICENSE +21 -0
  9. pymodaq_plugins_acs_motion-1.0.2/PKG-INFO +93 -0
  10. pymodaq_plugins_acs_motion-1.0.2/README.rst +44 -0
  11. pymodaq_plugins_acs_motion-1.0.2/hatch_build.py +10 -0
  12. pymodaq_plugins_acs_motion-1.0.2/icon.ico +0 -0
  13. pymodaq_plugins_acs_motion-1.0.2/pyproject.toml +63 -0
  14. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/__init__.py +13 -0
  15. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/app/__init__.py +0 -0
  16. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/app/custom_app_template.py +125 -0
  17. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/daq_move_plugins/__init__.py +13 -0
  18. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/daq_move_plugins/daq_move_AcsXY.py +190 -0
  19. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/daq_viewer_plugins/__init__.py +3 -0
  20. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/daq_viewer_plugins/plugins_0D/__init__.py +13 -0
  21. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/daq_viewer_plugins/plugins_1D/__init__.py +13 -0
  22. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/daq_viewer_plugins/plugins_2D/__init__.py +14 -0
  23. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/daq_viewer_plugins/plugins_ND/__init__.py +13 -0
  24. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/exporters/__init__.py +6 -0
  25. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/extensions/__init__.py +6 -0
  26. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/extensions/custom_extension_template.py +140 -0
  27. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/hardware/__init__.py +0 -0
  28. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/models/PIDModelTemplate.py +100 -0
  29. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/models/__init__.py +6 -0
  30. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/resources/__init__.py +0 -0
  31. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/resources/config_template.toml +2 -0
  32. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/scanners/__init__.py +6 -0
  33. pymodaq_plugins_acs_motion-1.0.2/src/pymodaq_plugins_acs_motion/utils.py +15 -0
  34. pymodaq_plugins_acs_motion-1.0.2/tests/test_plugin_package_structure.py +134 -0
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -0,0 +1,10 @@
1
+ name: 'Tests'
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ call_workflow:
7
+ uses: ./.github/workflows/Testbase.yml
8
+ with:
9
+ python: '3.11'
10
+ qt5: 'pyqt5'
@@ -0,0 +1,44 @@
1
+ name: Base
2
+
3
+ on:
4
+ workflow_call:
5
+ inputs:
6
+ python:
7
+ required: true
8
+ type: string
9
+ qt5:
10
+ required: true
11
+ type: string
12
+
13
+ jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
+ env:
17
+ DISPLAY: ':99.0'
18
+ QT_DEBUG_PLUGINS: 1
19
+ steps:
20
+ - name: Set up Python ${{ inputs.python }}
21
+ uses: actions/checkout@v4.2.2
22
+ - name: Install dependencies
23
+ uses: actions/setup-python@v5.4.0
24
+ with:
25
+ python-version: ${{ inputs.python }}
26
+ - name: Install package
27
+ run: |
28
+ sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
29
+ python -m pip install --upgrade pip
30
+ export QT_DEBUG_PLUGINS=1
31
+ pip install flake8 pytest pytest-cov pytest-qt pytest-xdist pytest-xvfb setuptools wheel numpy h5py ${{ inputs.qt5 }} toml
32
+ pip install pymodaq pyqt5
33
+ pip install -e .
34
+ - name: create local pymodaq folder and setting permissions
35
+ run: |
36
+ sudo mkdir /etc/.pymodaq
37
+ sudo chmod uo+rw /etc/.pymodaq
38
+ - name: Linting with flake8
39
+ run: |
40
+ # stop the build if there are Python syntax errors or undefined names
41
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=src/pymodaq/resources/QtDesigner_Ressources,docs
42
+ - name: Test with pytest
43
+ run: |
44
+ pytest -n auto -k "not test_compatibility"
@@ -0,0 +1,78 @@
1
+ name: Compatibility with pymodaq (latest release)
2
+
3
+ on:
4
+ workflow_call:
5
+
6
+ pull_request:
7
+
8
+ push:
9
+ branches:
10
+ - '*'
11
+
12
+ concurrency:
13
+ # github.workflow: name of the workflow
14
+ # github.event.pull_request.number || github.ref: pull request number or branch name if not a pull request
15
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16
+ # Cancel in-progress runs when a new workflow with the same group name is triggered
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+ tests:
21
+ continue-on-error: true
22
+ strategy:
23
+ fail-fast: false
24
+ matrix:
25
+ os: ["ubuntu-latest", "windows-latest"]
26
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
27
+ qt-backend: ["pyqt5", "pyqt6", "pyside6"]
28
+ runs-on: ${{ matrix.os }}
29
+ env:
30
+ DISPLAY: ':99'
31
+ QT_DEBUG_PLUGINS: 1
32
+
33
+ steps:
34
+ - name: Set project name environment variable
35
+ run: |
36
+ echo "plugin_name=$(echo '${{ github.repository }}' | cut -d'/' -f2)" >> $GITHUB_ENV
37
+
38
+ - name: Checkout the repo
39
+ uses: actions/checkout@v4.2.2
40
+
41
+ - name: Set up Python ${{ matrix.python-version }}
42
+ uses: actions/setup-python@v5.4.0
43
+ with:
44
+ python-version: ${{ matrix.python-version }}
45
+
46
+ - name: Install dependencies
47
+ run: |
48
+ python -m pip install --upgrade pip
49
+ pip install flake8 pytest pytest-cov pytest-qt pytest-xvfb pytest-xdist setuptools wheel numpy h5py pymodaq ${{ matrix.qt-backend }}
50
+ pip install -e .
51
+
52
+ # Create folder and set permissions on Ubuntu
53
+ - name: Create local pymodaq folder setup env (Linux)
54
+ if: runner.os == 'Linux'
55
+ run: |
56
+ sudo apt update
57
+ sudo apt install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-cursor0 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libgl1 libegl1
58
+ export QT_DEBUG_PLUGINS=1
59
+ sudo mkdir -p /etc/.pymodaq
60
+ sudo chmod uo+rw /etc/.pymodaq
61
+ - name: Exporting debug variables (Windows)
62
+ if: runner.os == 'Windows'
63
+ run: |
64
+ set QT_DEBUG_PLUGINS=1
65
+
66
+ - name: Compatibility tests with ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.qt-backend}}
67
+ run: |
68
+ pytest -vv -n 1 -k "test_compatibility"
69
+
70
+ - name: Upload compatibility report
71
+ if: failure()
72
+ uses: actions/upload-artifact@v4.6.1
73
+ with:
74
+ name:
75
+ path: 'import_report_tests_${{ env.plugin_name }}_None.txt'
76
+ if-no-files-found: error
77
+
78
+
@@ -0,0 +1,40 @@
1
+ # This workflow will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+ name: Upload Python Package
5
+
6
+ on:
7
+ release:
8
+ types: [created]
9
+
10
+ jobs:
11
+ deploy:
12
+
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4.2.2
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5.4.0
19
+ with:
20
+ python-version: '3.x'
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install hatch hatchling toml twine
25
+ - name: Get history and tags for SCM versioning to work
26
+ run: |
27
+ git branch
28
+ git fetch --prune --unshallow
29
+ git fetch --depth=1 origin +refs/tags/*:refs/tags/*
30
+ hatch version
31
+ - name: Build
32
+ run: hatch build
33
+ - name: Check the build
34
+ run: twine check dist/*
35
+ - name: publish
36
+ env:
37
+ HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
38
+ HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
39
+ run: |
40
+ hatch publish
@@ -0,0 +1,23 @@
1
+ name: GitHub Actions Version Updater
2
+
3
+ # Controls when the action will run.
4
+ on:
5
+ schedule:
6
+ # Automatically run at 00:00 on day-of-month 5.
7
+ - cron: '0 0 5 * *'
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - uses: actions/checkout@v4.2.2
15
+ with:
16
+ # [Required] Access token with `workflow` scope.
17
+ token: ${{ secrets.WORKFLOW_SECRET }}
18
+
19
+ - name: Run GitHub Actions Version Updater
20
+ uses: saadmk11/github-actions-version-updater@v0.8.1
21
+ with:
22
+ # [Required] Access token with `workflow` scope.
23
+ token: ${{ secrets.WORKFLOW_SECRET }}
@@ -0,0 +1,116 @@
1
+ # Compiled python modules.
2
+ *.pyc
3
+
4
+ # Byte-compiled / optimized / DLL files
5
+ __pycache__/
6
+ _version.py
7
+
8
+ *.py[cod]
9
+ *$py.class
10
+
11
+ # C extensions
12
+ *.so
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ downloads/
20
+ eggs/
21
+ .eggs/
22
+ lib/
23
+ lib64/
24
+ parts/
25
+ sdist/
26
+ var/
27
+ wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ .hypothesis/
53
+ .pytest_cache/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # pyenv
81
+ .python-version
82
+
83
+ # celery beat schedule file
84
+ celerybeat-schedule
85
+
86
+ # SageMath parsed files
87
+ *.sage.py
88
+
89
+ # Environments
90
+ .env
91
+ .venv
92
+ env/
93
+ venv/
94
+ ENV/
95
+ env.bak/
96
+ venv.bak/
97
+
98
+ # Spyder project settings
99
+ .spyderproject
100
+ .spyproject
101
+
102
+ # Rope project settings
103
+ .ropeproject
104
+
105
+ # mkdocs documentation
106
+ /site
107
+
108
+ # mypy
109
+ .mypy_cache/
110
+
111
+ # pycharm
112
+ .idea/
113
+ .idea/*
114
+
115
+ *yacctab.py
116
+ *lextab.py
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Sebastien Weber <sebastien.weber@cemes.fr>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,93 @@
1
+ Metadata-Version: 2.4
2
+ Name: pymodaq_plugins_acs_motion
3
+ Version: 1.0.2
4
+ Summary: This plugins interact with ACS motion controllers to drive stages.
5
+ Project-URL: Homepage, https://pymodaq.cnrs.fr
6
+ Project-URL: Documentation , https://pymodaq.cnrs.fr
7
+ Project-URL: Repository , https://github.com/JMargueritatLab/pymodaq_plugins_acs_motion
8
+ Author-email: Jérémie Margueritat <jeremie.margueritat@univ-lyon1.fr>
9
+ Maintainer-email: Jérémie Margueritat <jeremie.margueritat@univ-lyon1.fr>
10
+ License: The MIT License (MIT)
11
+
12
+ Copyright (c) 2021 Sebastien Weber <sebastien.weber@cemes.fr>
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in
22
+ all copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
30
+ THE SOFTWARE.
31
+ License-File: LICENSE
32
+ Classifier: Development Status :: 5 - Production/Stable
33
+ Classifier: Intended Audience :: Science/Research
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Natural Language :: English
36
+ Classifier: Operating System :: OS Independent
37
+ Classifier: Programming Language :: Python :: 3.8
38
+ Classifier: Programming Language :: Python :: 3.9
39
+ Classifier: Programming Language :: Python :: 3.10
40
+ Classifier: Programming Language :: Python :: 3.11
41
+ Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
42
+ Classifier: Topic :: Scientific/Engineering :: Visualization
43
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
44
+ Classifier: Topic :: Software Development :: User Interfaces
45
+ Requires-Python: >=3.8
46
+ Requires-Dist: acspy
47
+ Requires-Dist: pymodaq>=5.0.0
48
+ Description-Content-Type: text/x-rst
49
+
50
+ pymodaq_plugins_template
51
+ ########################
52
+
53
+ .. the following must be adapted to your developed package, links to pypi, github description...
54
+
55
+ .. image:: https://img.shields.io/pypi/v/pymodaq_plugins_thorlabs.svg
56
+ :target: https://pypi.org/project/pymodaq_plugins_thorlabs/
57
+ :alt: Latest Version
58
+
59
+ .. image:: https://readthedocs.org/projects/pymodaq/badge/?version=latest
60
+ :target: https://pymodaq.readthedocs.io/en/stable/?badge=latest
61
+ :alt: Documentation Status
62
+
63
+ .. image:: https://github.com/PyMoDAQ/pymodaq_plugins_thorlabs/workflows/Upload%20Python%20Package/badge.svg
64
+ :target: https://github.com/PyMoDAQ/pymodaq_plugins_thorlabs
65
+ :alt: Publication Status
66
+
67
+ PyMoDAQ plugins for the ACS motion control unit.
68
+
69
+ Authors
70
+ =======
71
+
72
+ * Jérémie Margueritat (jeremie.margueritat@univ-lyon1.fr)
73
+
74
+ Instruments
75
+ ===========
76
+
77
+ Below is the list of instruments included in this plugin
78
+
79
+ Actuators
80
+ +++++++++
81
+
82
+ * **ACS motion control**: control up to 8 stages.
83
+
84
+ It has been developped with ACS motion control unit: SPiiPlusEC, linked with a two axis driver (amplifier) UDMnt.
85
+ The stages were alio's translation stages AI-CM-6000-XY
86
+
87
+ Installation instructions
88
+ =========================
89
+ The user as to install the drivers from ACS. He may also need to intialise the stage within the software with the buffer file provided by ACS.
90
+
91
+ * PyMoDAQ’s version: developed with PyMoDAQ 5.0.5
92
+ * Operating system’s version: Windows 11
93
+ * The plugin assumes that the acs drivers are installed.
@@ -0,0 +1,44 @@
1
+ pymodaq_plugins_template
2
+ ########################
3
+
4
+ .. the following must be adapted to your developed package, links to pypi, github description...
5
+
6
+ .. image:: https://img.shields.io/pypi/v/pymodaq_plugins_thorlabs.svg
7
+ :target: https://pypi.org/project/pymodaq_plugins_thorlabs/
8
+ :alt: Latest Version
9
+
10
+ .. image:: https://readthedocs.org/projects/pymodaq/badge/?version=latest
11
+ :target: https://pymodaq.readthedocs.io/en/stable/?badge=latest
12
+ :alt: Documentation Status
13
+
14
+ .. image:: https://github.com/PyMoDAQ/pymodaq_plugins_thorlabs/workflows/Upload%20Python%20Package/badge.svg
15
+ :target: https://github.com/PyMoDAQ/pymodaq_plugins_thorlabs
16
+ :alt: Publication Status
17
+
18
+ PyMoDAQ plugins for the ACS motion control unit.
19
+
20
+ Authors
21
+ =======
22
+
23
+ * Jérémie Margueritat (jeremie.margueritat@univ-lyon1.fr)
24
+
25
+ Instruments
26
+ ===========
27
+
28
+ Below is the list of instruments included in this plugin
29
+
30
+ Actuators
31
+ +++++++++
32
+
33
+ * **ACS motion control**: control up to 8 stages.
34
+
35
+ It has been developped with ACS motion control unit: SPiiPlusEC, linked with a two axis driver (amplifier) UDMnt.
36
+ The stages were alio's translation stages AI-CM-6000-XY
37
+
38
+ Installation instructions
39
+ =========================
40
+ The user as to install the drivers from ACS. He may also need to intialise the stage within the software with the buffer file provided by ACS.
41
+
42
+ * PyMoDAQ’s version: developed with PyMoDAQ 5.0.5
43
+ * Operating system’s version: Windows 11
44
+ * The plugin assumes that the acs drivers are installed.
@@ -0,0 +1,10 @@
1
+ from pathlib import Path
2
+ from hatchling.metadata.plugin.interface import MetadataHookInterface
3
+ from pymodaq_utils.resources.hatch_build_plugins import update_metadata_from_toml
4
+
5
+ here = Path(__file__).absolute().parent
6
+
7
+
8
+ class PluginInfoTomlHook(MetadataHookInterface):
9
+ def update(self, metadata: dict) -> None:
10
+ update_metadata_from_toml(metadata, here)
@@ -0,0 +1,63 @@
1
+ [features] # defines the plugin features contained into this plugin
2
+ instruments = true # true if plugin contains instrument classes (else false, notice the lowercase for toml files)
3
+ extensions = false # true if plugins contains dashboard extensions
4
+ models = false # true if plugins contains pid models
5
+ h5exporters = false # true if plugin contains custom h5 file exporters
6
+ scanners = false # true if plugin contains custom scan layout (daq_scan extensions)
7
+
8
+ [urls]
9
+ package-url = 'https://github.com/JMargueritatLab/pymodaq_plugins_acs_motion'
10
+
11
+ [project]
12
+ name = "pymodaq_plugins_acs_motion" #todo modify template by your plugin short name
13
+ description = 'This plugins interact with ACS motion controllers to drive stages.'
14
+ dependencies = [
15
+ "pymodaq>=5.0.0", "ACSpy"
16
+ #todo: list here all dependencies your package may have
17
+ ]
18
+
19
+ authors = [
20
+ {name = "Jérémie Margueritat", email = "jeremie.margueritat@univ-lyon1.fr"},
21
+ #todo: list here all authors of your plugin
22
+ ]
23
+ maintainers = [
24
+ {name = "Jérémie Margueritat", email = "jeremie.margueritat@univ-lyon1.fr"},
25
+ #todo: list here all maintainers of your plugin
26
+ ]
27
+
28
+ # nottodo: leave everything below as is!
29
+
30
+ dynamic = ["version", "urls", "entry-points"]
31
+ readme = "README.rst"
32
+ license = { file="LICENSE" }
33
+ requires-python = ">=3.8"
34
+
35
+ classifiers = [
36
+ "Development Status :: 5 - Production/Stable",
37
+ "Intended Audience :: Science/Research",
38
+ "License :: OSI Approved :: MIT License",
39
+ "Natural Language :: English",
40
+ "Operating System :: OS Independent",
41
+ "Programming Language :: Python :: 3.8",
42
+ "Programming Language :: Python :: 3.9",
43
+ "Programming Language :: Python :: 3.10",
44
+ "Programming Language :: Python :: 3.11",
45
+ "Topic :: Scientific/Engineering :: Human Machine Interfaces",
46
+ "Topic :: Scientific/Engineering :: Visualization",
47
+ "Topic :: Software Development :: Libraries :: Python Modules",
48
+ "Topic :: Software Development :: User Interfaces",
49
+ ]
50
+
51
+ [build-system]
52
+ requires = [
53
+ "hatchling>=1.9.0",
54
+ "hatch-vcs", "toml",
55
+ "pymodaq_utils>=0.0.6",
56
+ ]
57
+ build-backend = "hatchling.build"
58
+
59
+ [tool.hatch.metadata.hooks.custom]
60
+
61
+ [tool.hatch.version]
62
+ source = "vcs"
63
+
@@ -0,0 +1,13 @@
1
+ from pathlib import Path
2
+ from .utils import Config
3
+ from pymodaq_utils.utils import get_version, PackageNotFoundError
4
+ from pymodaq_utils.logger import set_logger, get_module_name
5
+
6
+ config = Config()
7
+ try:
8
+ __version__ = get_version(__package__)
9
+ except PackageNotFoundError:
10
+ __version__ = '0.0.0dev'
11
+
12
+
13
+