Make paths absolute before comparing (#73)
Sometimes the archive path is relative while sys.path[0] is absolute, or vice versa. This allows `setup()` to work in both cases
diff --git a/runtime/support.py b/runtime/support.py
index c72a128..e8ec253 100644
--- a/runtime/support.py
+++ b/runtime/support.py
@@ -300,7 +300,7 @@
warnings.warn('Failed to initialize .par file runtime support',
UserWarning)
return False
- if sys.path[0] != archive_path:
+ if os.path.abspath(sys.path[0]) != os.path.abspath(archive_path):
warnings.warn('Failed to initialize .par file runtime support. ' +
'archive_path was %r, sys.path was %r' % (
archive_path, sys.path),