plesty-sdk 0.0.2.dev4__tar.gz → 0.0.2.dev6__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.
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/PKG-INFO +1 -1
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/commands/check.py +2 -7
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/pyproject.toml +2 -2
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/.gitignore +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/.gitlab-ci.yml +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/COPYING +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/COPYING.LESSER +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/LICENSE +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/README.md +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/docs/index.md +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/docs/toc.yaml +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/docs/usage/index.md +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/__init__.py +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/assets/docs-build-gitlab-ci.yml +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/assets/logos/plesty_icon.png +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/assets/logos/plesty_logo.png +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/assets/ruff.toml +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/cache.py +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/cli.py +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/commands/docs/__init__.py +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/commands/docs/deploy.py +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/commands/docs/serve.py +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/commands/docs/sphinx_builder.py +0 -0
- {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev6}/plesty_sdk/context.py +0 -0
|
@@ -25,7 +25,7 @@ from pathlib import Path
|
|
|
25
25
|
from typing import Any, Literal
|
|
26
26
|
|
|
27
27
|
import click
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
try:
|
|
30
30
|
from PySide6.QtWidgets import QWidget
|
|
31
31
|
PYSIDE6_IS_INSTALLED = True
|
|
@@ -106,12 +106,7 @@ def check_device(standard: Literal["pixel", "nebula", "quantum"], pyproject_toml
|
|
|
106
106
|
project_name = pyproject_toml["project"]["name"]
|
|
107
107
|
module = importlib.import_module(project_name.replace("-", "_"))
|
|
108
108
|
device_instance = getattr(module, device_class)()
|
|
109
|
-
|
|
110
|
-
if not isinstance(device_instance, Readable):
|
|
111
|
-
raise click.ClickException(
|
|
112
|
-
"Device class does not implement the 'Readable' protocol from Bluesky required"
|
|
113
|
-
f"by standard {standard}."
|
|
114
|
-
)
|
|
109
|
+
|
|
115
110
|
# check for async connect method
|
|
116
111
|
if not asyncio.iscoroutinefunction(getattr(device_instance, "connect")):
|
|
117
112
|
raise click.ClickException(
|
|
@@ -21,7 +21,7 @@ dependencies = [
|
|
|
21
21
|
dynamic = ["version"]
|
|
22
22
|
|
|
23
23
|
[project.scripts]
|
|
24
|
-
plesty = "
|
|
24
|
+
plesty = "plesty_sdk.cli:app"
|
|
25
25
|
|
|
26
26
|
[tool.plesty.docs]
|
|
27
27
|
site-name = "SDK"
|
|
@@ -33,7 +33,7 @@ requires = ["hatchling", "versioningit"]
|
|
|
33
33
|
build-backend = "hatchling.build"
|
|
34
34
|
|
|
35
35
|
[tool.hatch.build.targets.wheel]
|
|
36
|
-
packages = ["
|
|
36
|
+
packages = ["plesty_sdk"]
|
|
37
37
|
|
|
38
38
|
[tool.hatch.version]
|
|
39
39
|
source = "versioningit"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|