""" Custom script to overide the docutils with my own version. This is to bypass setuptools, thus tweaking the PYTHONPATH won't do the trick. """ import sys import os sys.path = [os.getcwd() + os.sep + 'docutils' + os.sep + 'docutils', ] \ + sys.path sys.path = [os.getcwd() + os.sep + 'rest2web'] + sys.path os.chdir('rest2web') execfile('r2w.py')