Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/heavy-lights-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"trackio": minor
---

feat:Check `dist-packages` when checking for source installation
2 changes: 1 addition & 1 deletion trackio/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _is_trackio_installed_from_source() -> bool:
"""Check if trackio is installed from source/editable install vs PyPI."""
try:
trackio_file = trackio.__file__
if "site-packages" not in trackio_file:
if "site-packages" not in trackio_file and "dist-packages" not in trackio_file:
return True

dist = importlib.metadata.distribution("trackio")
Expand Down