Commits

Brett Cannon committed 897f825

Try to support Windows users building the docs.

  • Participants
  • Parent commits fa02bae

Comments (0)

Files changed (1)

             subprocess.check_call(['make', 'checkout'])
 
     def build(self):
+        cmd = 'make' if sys.platform != 'win32' else 'make.bat'
         with change_cwd(os.path.join(self.directory, 'Doc'):
-                subprocess.check_call(['make', 'html'])
+                subprocess.check_call([cmd, 'html'])
 
 
 if __name__ == '__main__':