##// END OF EJS Templates
check-code: Only call check-code if __name__ = "__main__"....
check-code: Only call check-code if __name__ = "__main__". This changeset moves the code that actually executes something to the "if __name__ = '__main__'" section to allow the file to be imported as a module.

File last commit:

r2575:7289d20b default
r10716:5f92bde7 default
Show More
macosx-build.txt
11 lines | 272 B | text/plain | TextLexer
to build a new macosx binary package:
install macpython from http://www.python.org/download/mac
install py2app from http://pythonmac.org/packages/
make sure /usr/local/bin is in your path
run bdist_mpkg in top-level hg directory
find packaged stuff in dist directory