Mercurial > hg
changeset 12676:ef500b2f100b
setup.py: write libdir as a python string literal
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 09 Oct 2010 15:40:29 -0500 |
parents | c6cdc123f6e4 |
children | 9848a94e2ad6 |
files | setup.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Sat Oct 09 15:13:08 2010 -0500 +++ b/setup.py Sat Oct 09 15:40:29 2010 -0500 @@ -301,7 +301,7 @@ if '\0' in data: continue - data = data.replace('@LIBDIR@', libdir) + data = data.replace('@LIBDIR@', libdir.encode('string_escape')) open(outfile, 'wb').write(data) cmdclass = {'build_mo': hgbuildmo,