old python needs __main__ to call a module
[pylucene.git] / samples / LuceneInAction / IndexTuningDemo.py
1
2 import os, sys, lucene
3 lucene.initVM()
4
5 sys.path.append(os.path.dirname(os.path.abspath(sys.argv[0])))
6
7 from lia.indexing.IndexTuningDemo import IndexTuningDemo
8 IndexTuningDemo.main(sys.argv)