Fixed "prepare distribution" script.
@@ -15,7 +15,7 @@ from eventsourcing import __version__
def build_and_test(cwd):
# Declare temporary working directory variable.
- tmpcwd27 = os.path.join(cwd, 'tmpve2.7')
+ # tmpcwd27 = os.path.join(cwd, 'tmpve2.7')
tmpcwd34 = os.path.join(cwd, 'tmpve3.6')
# Build distribution.
@@ -62,7 +62,7 @@ def build_and_test(cwd):
def test_installation(tmpcwd):
- subprocess.check_call(['bin/python', '-m', 'dateutil.parser'], cwd=tmpcwd)
+ subprocess.check_call(['bin/python', '-c', 'import dateutil.parser'], cwd=tmpcwd)
subprocess.check_call(['bin/python', '-m' 'unittest', 'discover', 'eventsourcing.tests'], cwd=tmpcwd)
