We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02cb5ab commit 793af85Copy full SHA for 793af85
src/reactpy/pyscript/utils.py
@@ -173,6 +173,9 @@ def reactpy_version_string() -> str: # nocov
173
174
# Build a local wheel for ReactPy, if needed
175
dist_dir = Path(reactpy.__file__).parent.parent.parent / "dist"
176
+ if not dist_dir.exists() and (Path.cwd() / "dist").exists(): # nocov
177
+ dist_dir = Path.cwd() / "dist"
178
+
179
wheel_glob = glob(str(dist_dir / f"reactpy-{local_version}-*.whl"))
180
if not wheel_glob:
181
_logger.warning("Attempting to build a local wheel for ReactPy...")
0 commit comments