Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 13:56
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
# Install SimPy
import urllib
import tarfile
import shutil
import console
import os
name = 'sympy'
version = '0.7.5'
# It is easy to install any pypi pure python package, for example:
# name = 'simpy'
# version = '3.0.2'
fullname = name+'-'+version
print 'Downloading '+name+'...'
url = ''+name+'/'+fullname+'.tar.gz'
urllib.urlretrieve(url, 'packget.tar.gz')
print 'Extracting...'
t ='packget.tar.gz')
if os.path.isdir(name):
shutil.move(fullname+'/'+name, './'+name)
print 'Cleaning up...'
print 'Done.'
Copy link

cclauss commented Jun 19, 2014

Sympy is now a builtin module in Pythonista 1.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment