doc/gendoc.py
changeset 49164 a932cad26d37
parent 48875 6000f5b25c9b
parent 49151 1b6e381521c5
equal deleted inserted replaced
49147:10b9f11daf15 49164:a932cad26d37
    19 
    19 
    20 # This script is executed during installs and may not have C extensions
    20 # This script is executed during installs and may not have C extensions
    21 # available. Relax C module requirements.
    21 # available. Relax C module requirements.
    22 os.environ['HGMODULEPOLICY'] = 'allow'
    22 os.environ['HGMODULEPOLICY'] = 'allow'
    23 # import from the live mercurial repo
    23 # import from the live mercurial repo
    24 sys.path.insert(0, "..")
    24 sys.path.insert(0, os.path.abspath(".."))
    25 from mercurial import demandimport
    25 from mercurial import demandimport
    26 
    26 
    27 demandimport.enable()
    27 demandimport.enable()
    28 
    28 
    29 from mercurial import (
    29 from mercurial import (