summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore2
-rwxr-xr-xtest.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore
new file mode 100644
index 0000000..3061b41
--- /dev/null
+++ b/.bzrignore
@@ -0,0 +1,2 @@
+*.egg-info
+build
diff --git a/test.py b/test.py
index c30b52e..2fb4322 100755
--- a/test.py
+++ b/test.py
@@ -12,7 +12,10 @@ import os
if os.path.exists("build"):
from distutils.util import get_platform
import sys
- s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
+ if sys.version_info >= (3, 2):
+ s = "build/lib"
+ else:
+ s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
s = os.path.join(os.getcwd(), s)
sys.path.insert(0, s)