mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
19 lines
423 B
Plaintext
19 lines
423 B
Plaintext
|
#! /usr/bin/env python
|
||
|
#
|
||
|
# The CxxTest driver script, which uses the cxxtest Python package.
|
||
|
#
|
||
|
|
||
|
import sys
|
||
|
import os
|
||
|
from os.path import realpath, dirname
|
||
|
if sys.version_info < (3,0):
|
||
|
sys.path.insert(0, dirname(dirname(realpath(__file__)))+os.sep+'python')
|
||
|
else:
|
||
|
sys.path.insert(0, dirname(dirname(realpath(__file__)))+os.sep+'python'+os.sep+'python3')
|
||
|
sys.path.append(".")
|
||
|
|
||
|
import cxxtest
|
||
|
|
||
|
cxxtest.main(sys.argv)
|
||
|
|