We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dist-packages
1 parent c8a384d commit 39c4750Copy full SHA for 39c4750
2 files changed
.changeset/heavy-lights-end.md
@@ -0,0 +1,5 @@
1
+---
2
+"trackio": minor
3
4
+
5
+feat:Check `dist-packages` when checking for source installation
trackio/deploy.py
@@ -43,7 +43,7 @@ def _is_trackio_installed_from_source() -> bool:
43
"""Check if trackio is installed from source/editable install vs PyPI."""
44
try:
45
trackio_file = trackio.__file__
46
- if "site-packages" not in trackio_file:
+ if "site-packages" not in trackio_file and "dist-packages" not in trackio_file:
47
return True
48
49
dist = importlib.metadata.distribution("trackio")
0 commit comments