setup.py
branchstable
changeset 28041 8da94662afe5
parent 27925 f6d73c8756e2
child 28398 712298942c82
equal deleted inserted replaced
28040:6db47740e681 28041:8da94662afe5
   302             log.warn("Failed to build optional extension '%s' (skipping)",
   302             log.warn("Failed to build optional extension '%s' (skipping)",
   303                      ext.name)
   303                      ext.name)
   304 
   304 
   305 class hgbuildscripts(build_scripts):
   305 class hgbuildscripts(build_scripts):
   306     def run(self):
   306     def run(self):
   307         if os.name != 'nt':
   307         if os.name != 'nt' or self.distribution.pure:
   308             return build_scripts.run(self)
   308             return build_scripts.run(self)
   309 
   309 
   310         exebuilt = False
   310         exebuilt = False
   311         try:
   311         try:
   312             self.run_command('build_hgexe')
   312             self.run_command('build_hgexe')