Mercurial > hg
view contrib/macosx/macosx-build.txt @ 11010:18e81d42ee5c stable
util: fix default termwidth() under Windows
sys.stdout.write('-'*80 + '\n')
or
sys.stdout.write('-'*80 + '\r')
do not work on Windows as they do on unix. On a 80 columns Windows console, the
extra CR or LF are interpreted as if belonging to the next line, so the first
command displays 2 lines (only one on unix) and the second one leave the line
visible and move back to the following line. To avoid this, we sacrifice one
column under Windows.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 26 Apr 2010 22:30:40 +0200 |
parents | 7289d20b18cd |
children |
line wrap: on
line source
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