swig compilation and invoking unixcompiler now works.

Closer to having setup.py bdist working. Still need to figure out how
add libcdio libraries and how to get the test import working.
This commit is contained in:
R. Bernstein
2008-11-27 22:13:44 -05:00
parent 641e629100
commit 49cb335c79
7 changed files with 8 additions and 9 deletions

3
test/test-cdio.py Executable file → Normal file
View File

@@ -5,7 +5,8 @@ Note: for compatibility with old unittest 1.46 we won't use assertTrue
or assertFalse."""
import unittest, sys, os
libdir = os.path.join(os.path.dirname(__file__), '..')
libdir = os.path.join(os.path.dirname(__file__),
'..', 'build', 'lib.linux-i686-2.5')
if libdir[-1] != os.path.sep:
libdir += os.path.sep
sys.path.insert(0, libdir)