We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f284b48 commit a2aa102Copy full SHA for a2aa102
1 file changed
webplayground/server.py
@@ -19,8 +19,12 @@
19
20
here = Path(__file__).parent.resolve()
21
22
-path_arcade = Path("../")
23
-arcade_wheel_filename = "arcade-4.0.0.dev4-py3-none-any.whl"
+path_arcade = here.parent
+version_file_path = path_arcade / "arcade" / "VERSION"
24
+VERSION = "unknown"
25
+with open(version_file_path, "r") as version_file:
26
+ VERSION = version_file.read().rstrip()
27
+arcade_wheel_filename = f"arcade-{VERSION}-py3-none-any.whl"
28
path_arcade_wheel = path_arcade / "dist" / arcade_wheel_filename
29
30
# Directory for local test scripts
0 commit comments