Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
19 lines (18 loc) · 698 Bytes

File metadata and controls

19 lines (18 loc) · 698 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from __future__ import print_function
import sys
try:
import setuptools
setuptools # supress lint error.
except:
print("setuptools is needed to make egg.\n"
"download ez_setup and try to run:\n"
" $ %s -c \"from urllib import urlretrieve as u; "
"u('http://peak.telecommunity.com/dist/ez_setup.py', "
"'ez_setup.py')\"\n"
" $ %s ez_setup.py setuptools")
sys.exit(1)
# vi: ft=python:et:ts=4:fdm=marker
# one liner for download ez_setup
# python -c "import urllib2; r=urllib2.urlopen(url);
# file('ez_setup.py', 'w').write(r.read())"
# python -c "from urllib import urlretrieve as u; u(url, 'ez_setup.py')"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.