source: trunk/tests/test_build.py @ 3

Revision 3, 278 bytes checked in by xi, 9 years ago (diff)

Create directory structure and setup.py.

Line 
1
2def main():
3    import sys, os, distutils.util
4    build_lib = os.path.join('build', 'lib.%s-%s' % (distutils.util.get_platform(), sys.version[0:3]))
5    sys.path.insert(0, build_lib)
6    import test_syck
7    test_syck.main('test_syck')
8
9if __name__ == '__main__':
10    main()
11
Note: See TracBrowser for help on using the repository browser.