OSDN Git Service

stop using trunk directory in rectool
[rec10/rec10-git.git] / rec10 / branches / 0.9.0 / src / install.py
1 #!/usr/bin/python
2 # coding: UTF-8
3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009 Yukikaze
5 import sys
6 import chdata
7 import timerec
8 code=sys.getdefaultencoding()
9 if code != 'utf-8':
10     print "The default encoding of python is not utf-8."
11     print "Using multibyte character in not utf-8 environment cause many errors."
12     print "please make /usr/lib/python(version)/site-package/sitecustomize.py and"
13     print "write \n import sys\n sys.setdefaultencoding('utf-8')\n in it."
14     print "then please retry this install.py."
15     print "thank you."
16     sys.exit(0)
17 chdata
18 timerec.task()