File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 112010-12-26 Doug Hellmann <dhellmann@racemi.com>
22
3+ * virtualenvwrapper/user_scripts.py (make_hook): Do not specify
4+ text mode when creating the files so cygwin will not replace \n
5+ with \r\n.
6+
37 * setup.py: Change "requires" to "install_requires" so pip will
48 try to install virtualenv if it is not already there. Add trove
59 classifiers for the supported Python versions.
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def make_hook(filename, comment):
108108 filename = os .path .expanduser (os .path .expandvars (filename ))
109109 if not os .path .exists (filename ):
110110 log .warning ('creating %s' , filename )
111- f = open (filename , 'wt ' )
111+ f = open (filename , 'w ' )
112112 try :
113113 f .write ("""#!%(shell)s
114114# %(comment)s
You can’t perform that action at this time.
0 commit comments