mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
19 lines
433 B
Python
Executable File
19 lines
433 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys
|
|
import os.path
|
|
|
|
try:
|
|
import cxxtest.cxxtestgen
|
|
except ImportError:
|
|
currdir = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
if sys.version_info < (3,0):
|
|
sys.path.append( os.path.abspath( os.path.sep.join([currdir, '..']) ) )
|
|
else:
|
|
sys.path.append( os.path.abspath( os.path.sep.join([currdir, '..', python3]) ) )
|
|
|
|
import cxxtest.cxxtestgen
|
|
|
|
cxxtest.cxxtestgen.main()
|