-
-
Save stjbrown/09bfc9756a899d2fea61 to your computer and use it in GitHub Desktop.
Install Suds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib | |
import tarfile | |
import shutil | |
import console | |
import os | |
print 'Downloading Suds...' | |
url = 'https://fedorahosted.org/releases/s/u/suds/python-suds-0.4.tar.gz' | |
urllib.urlretrieve(url, 'python-suds-0.4.tar.gz') | |
print 'Extracting...' | |
t = tarfile.open('python-suds-0.4.tar.gz') | |
t.extractall() | |
if os.path.isdir('suds'): | |
shutil.rmtree('suds') | |
shutil.move('python-suds-0.4/suds', './suds') | |
print 'Cleaning up...' | |
shutil.rmtree('python-suds-0.4') | |
os.remove('python-suds-0.4.tar.gz') | |
print 'Done' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment