diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-01-01 22:23:14 -0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-01-01 22:23:14 -0800 |
commit | 353c76f24d56fc1cc8d3d90f60d25a24d6b81d56 (patch) | |
tree | aa0c2a5466cc10c8cd328fe1c1ab772303a6acc0 /source | |
parent | dd594b6d19e536128164fb3aba899e8e1422179f (diff) | |
download | my_new_personal_website-353c76f24d56fc1cc8d3d90f60d25a24d6b81d56.tar.xz my_new_personal_website-353c76f24d56fc1cc8d3d90f60d25a24d6b81d56.zip |
HEAD: Fix formatting of Python code
Diffstat (limited to 'source')
-rw-r--r-- | source/blog/2016-01-01-virtualenvs-for-everyone.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blog/2016-01-01-virtualenvs-for-everyone.md b/source/blog/2016-01-01-virtualenvs-for-everyone.md index 193deb64..faf27fb7 100644 --- a/source/blog/2016-01-01-virtualenvs-for-everyone.md +++ b/source/blog/2016-01-01-virtualenvs-for-everyone.md @@ -15,12 +15,15 @@ This task could clearly be automated; the only slightly tricky bit is to program #!/usr/bin/env python3 """setuptools stubs. + Here we only stubbed the symbols in setuptools.__all__. Hopefully that's enough (actually I can't remember seeing any setup.py using more than setup and find_packages). + setup has been spoofed to print the names of scripts, console_scripts and gui_scripts defined in the arguments to setup. Some user-friendly messages are also printed to stderr. + """ from __future__ import print_function |