We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a818e9e commit ac54ba9Copy full SHA for ac54ba9
2 files changed
pyproject.toml
@@ -10,7 +10,7 @@ packages = ["src/ADScopeControl"]
10
11
[project]
12
name = "PyADScopeControl"
13
-version = "1.1.5"
+version = "1.1.6"
14
authors = [
15
{ name="Christoph Schmidt", email="cschmidt.fs@gmail.com" },
16
]
src/ADScopeControl/__init__.py
@@ -12,10 +12,11 @@
from WidgetCollection.Tools.PyProjectExtractor import extract_pyproject_info
# Directly in the repo
+
pytoml = pathlib.Path(__file__).parent.parent.parent
-if not pytoml.exists():
17
+if not (pytoml / "pyproject.toml").exists():
18
# if installed via pip
- pytoml = pathlib.Path(__file__).parent
19
+ pytoml = pathlib.Path(__file__)
20
21
__version__ = extract_pyproject_info(pytoml,"version")
22
__author__ = extract_pyproject_info(pytoml,"author")
0 commit comments