Cleaned up python bindings interface a bit; now returns strings rather than character codes if appropriate

This commit is contained in:
Dan Hirsch 2013-11-23 19:53:58 -06:00
parent 26c358accf
commit 294bca3fce
3 changed files with 126 additions and 62 deletions

View file

@ -18,6 +18,6 @@ libhammer_python = pythonenv.SharedLibrary('hammer', swig, SHLIBPREFIX='_')
pytestenv = pythonenv.Clone()
pytestenv['ENV']['LD_LIBRARY_PATH'] = os.path.dirname(str(libhammer_shared[0]))
pytestenv.Command(None, ['hammer_tests.py', libhammer_python], "nosetests -vv $SOURCE")
pytestenv.Command(None, ['hammer_tests.py'] + libhammer_python, "nosetests -vv $SOURCE")
Clean('.', ['hammer.pyc', 'hammer_tests.py', 'hammer_tests.pyc'])