From fa8a0fc8f45468099a1ebc457a05e25455eec17b Mon Sep 17 00:00:00 2001 From: "David A. Lareo" Date: Fri, 13 Jun 2014 20:34:57 +0200 Subject: [PATCH] Update script Compatibility with Ubuntu 14.04. Using Pillow instead of PIL and aerkalov repository --- scripts/install/booktype_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/booktype_install.py b/scripts/install/booktype_install.py index 5df1a3a..7ab7488 100755 --- a/scripts/install/booktype_install.py +++ b/scripts/install/booktype_install.py @@ -330,7 +330,7 @@ def getDistribution(): sys.exit(1) if platform in ['debian', 'ubuntu']: - command = '. %s/bin/activate && pip install Django==1.3 South==0.7.5 unidecode lxml PIL' % projectDir + command = '. %s/bin/activate && pip install Django==1.3 South==0.7.5 unidecode lxml Pillow' % projectDir elif platform in ['osx']: p = subprocess.Popen('find /usr/local/ -name xml2-config', shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) @@ -355,7 +355,7 @@ def getDistribution(): sys.exit(1) - command = 'cd %s && git clone https://github.com/sourcefabric/Booktype.git' % projectDir + command = 'cd %s && git clone https://github.com/aerkalov/Booktype.git' % projectDir print fmt('\n$ ' + command +'\n', 'blue') ret = subprocess.call(command, shell=True) if ret != 0: