diff options
Diffstat (limited to 'rbutil/rbutilqt')
-rwxr-xr-x | rbutil/rbutilqt/deploy-release.py | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/deploy-release.py b/rbutil/rbutilqt/deploy-release.py index dab0e8a7dc..4b3b91576a 100755 --- a/rbutil/rbutilqt/deploy-release.py +++ b/rbutil/rbutilqt/deploy-release.py | |||
@@ -42,12 +42,24 @@ import zipfile | |||
42 | import shutil | 42 | import shutil |
43 | import subprocess | 43 | import subprocess |
44 | import getopt | 44 | import getopt |
45 | import which | ||
46 | import time | 45 | import time |
47 | import hashlib | 46 | import hashlib |
48 | import pysvn | ||
49 | import tempfile | 47 | import tempfile |
50 | 48 | ||
49 | # modules that are not part of python itself. | ||
50 | try: | ||
51 | import pysvn | ||
52 | except ImportError: | ||
53 | print "Fatal: This script requires the pysvn package to run." | ||
54 | print " See http://pysvn.tigris.org/." | ||
55 | sys.exit(-5) | ||
56 | try: | ||
57 | import which | ||
58 | except ImportError: | ||
59 | print "Fatal: This script requires the which package to run." | ||
60 | print " See http://code.google.com/p/which/." | ||
61 | sys.exit(-5) | ||
62 | |||
51 | # == Global stuff == | 63 | # == Global stuff == |
52 | # Windows nees some special treatment. Differentiate between program name | 64 | # Windows nees some special treatment. Differentiate between program name |
53 | # and executable filename. | 65 | # and executable filename. |