diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-30 10:07:40 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-30 10:07:47 +0200 |
commit | b73dc953a8210371d66cf441a1949d84582e2c5e (patch) | |
tree | 2568a753e7be51050e0811e95cb83fd0e3dbf16b /contrib/macdeploy | |
parent | 05b045b59dcd0796202407ecadf4e62c2741b522 (diff) | |
parent | d16f6f87e1c15bd686e0e74ddb671da95a916c6d (diff) |
Merge pull request #4187
d16f6f8 Remove unused imports in macdeploy script (Federico Bond)
Diffstat (limited to 'contrib/macdeploy')
-rw-r--r-- | contrib/macdeploy/README.md | 4 | ||||
-rwxr-xr-x | contrib/macdeploy/macdeployqtplus | 11 |
2 files changed, 0 insertions, 15 deletions
diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md index 5f0611f20c..0aa57b4777 100644 --- a/contrib/macdeploy/README.md +++ b/contrib/macdeploy/README.md @@ -1,9 +1,5 @@ ### MacDeploy ### -You will need the appscript package for the fancy disk image creation to work: - - sudo easy_install appscript - For Snow Leopard (which uses [Python 2.6](http://www.python.org/download/releases/2.6/)), you will need the param_parser package: sudo easy_install argparse diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index 599713fbbb..ce4169a410 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -19,7 +19,6 @@ import subprocess, sys, re, os, shutil, stat, os.path from string import Template -from time import sleep from argparse import ArgumentParser # This is ported from the original macdeployqt with modifications @@ -488,16 +487,6 @@ if len(config.fancy) == 1: sys.stderr.write("Error: Could not import plistlib which is required for fancy disk images.\n") sys.exit(1) - if verbose >= 3: - print "Fancy: Importing appscript..." - try: - import appscript - except ImportError: - if verbose >= 1: - sys.stderr.write("Error: Could not import appscript which is required for fancy disk images.\n") - sys.stderr.write("Please install it e.g. with \"sudo easy_install appscript\".\n") - sys.exit(1) - p = config.fancy[0] if verbose >= 3: print "Fancy: Loading \"%s\"..." % p |