[New-bugs-announce] [issue16895] Batch file to mimic 'make' on Windows

Zachary Ware report at bugs.python.org
Tue Jan 8 21:43:41 CET 2013

New submission from Zachary Ware:

I find myself frustrated with some of the hoops I have to jump through and extra things I have to remember when I want to play around with Python on Windows.  To make things a little easier, I've created a 'make.bat' file that can sit in the root of the repository and do a few of the more common tasks:

make [build] [-64] -- Runs Tools\buildbot\build[-amd64].bat
make clean [-64] -- Runs Tools\buildbot\clean[-amd64].bat
make doc [args] -- Runs Doc\make.bat [args] with %PYTHON% set to 'py.exe -2'
make patchcheck -- Runs Tools\scripts\patchcheck.py
make test [test args] -- Runs the test suite with passed arguments

It seems to work pretty well for me and I think it could be very useful to others, particularly new contributors.  I'm sure there's plenty of room for improvement, though :)

I don't know if this script might interfere or conflict with Cygwin or other tools; if so and it were decided to include this file, it could easily be renamed to 'wmake.bat' or some such.

Hope this is useful enough to include, or at least useful to someone else :)

components: Windows
files: Make.bat
messages: 179369
nosy: zach.ware
priority: normal
severity: normal
status: open
title: Batch file to mimic 'make' on Windows
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file28632/Make.bat

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list