setup.py
changeset 3894 d6cc510dfe5e
parent 3892 2eec996f2fb9
child 3896 070628929e1f
equal deleted inserted replaced
3893:6b4127c7d52a 3894:d6cc510dfe5e
    12 import os
    12 import os
    13 from distutils.core import setup, Extension
    13 from distutils.core import setup, Extension
    14 from distutils.command.install_data import install_data
    14 from distutils.command.install_data import install_data
    15 
    15 
    16 import mercurial.version
    16 import mercurial.version
       
    17 import mercurial.demandimport
       
    18 mercurial.demandimport.enable = lambda: None
    17 
    19 
    18 # py2exe needs to be installed to work
    20 # py2exe needs to be installed to work
    19 try:
    21 try:
    20     import py2exe
    22     import py2exe
    21 
    23