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