#341: Always generate UNIX newlines in the quickstart Makefile.

This commit is contained in:
Georg Brandl committed 2010-02-27 22:54:31 +01:00
1 parent ee990c87f5
commit 23cec21823
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
Release 0.6.5 (in development)
==============================
* #341: Always generate UNIX newlines in the quickstart Makefile.
* #338: Fix running with ``-C`` under Windows.
* In autodoc, allow customizing the signature of an object where
+2 -1
View File
@@ -687,7 +687,8 @@ directly.'''
if d['makefile']:
d['rsrcdir'] = d['sep'] and 'source' or '.'
d['rbuilddir'] = d['sep'] and 'build' or d['dot'] + 'build'
f = open(path.join(d['path'], 'Makefile'), 'w')
# use binary mode, to avoid writing \r\n on Windows
f = open(path.join(d['path'], 'Makefile'), 'wb')
f.write((MAKEFILE % d).encode('utf-8'))
f.close()