Commit 2397a5aa authored by Reinout van Rees's avatar Reinout van Rees

Added note that we're retaining source encoding hints in distutils scripts

parent 6593d1b0
......@@ -938,8 +938,9 @@ It also works for zipped eggs:
Distutils copies the script files verbatim, apart from a line at the top that
looks like ``#!/usr/bin/python``, which gets replaced by the actual python
interpreter. Buildout does the same, but additionally also adds the sys.path
like for the console_scripts:
interpreter. The second line can contain a source encoding hint, which is
retained. Buildout does the same, but additionally also adds the sys.path like
for the console_scripts:
>>> cat(distbin, 'distutilsscript')
#!/usr/local/bin/python2.7
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment