forked from cms-sw/cmsdist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrabpython2.7-setup.patch
39 lines (35 loc) · 1.36 KB
/
crabpython2.7-setup.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/bin/htcondor_make_runtime.sh b/bin/htcondor_make_runtime.sh
index 3edc655..97e8c4c 100755
--- a/bin/htcondor_make_runtime.sh
+++ b/bin/htcondor_make_runtime.sh
@@ -64,12 +64,12 @@ if [[ "x$RPM_RELEASE" != "x" ]]; then
zip -rq $STARTDIR/CRAB3.zip RESTInteractions.py HTCondorUtils.py TaskWorker CRABInterface -x \*.pyc || exit 3
popd
- pushd $VO_CMS_SW_DIR/$SCRAM_ARCH/external/py2-httplib2/*/lib/python2.6/site-packages
+ pushd $VO_CMS_SW_DIR/$SCRAM_ARCH/external/py2-httplib2/*/lib/python2.7/site-packages
zip -rq $STARTDIR/CRAB3.zip httplib2 -x \*.pyc
zip -r $STARTDIR/WMCore.zip httplib2 -x \*.pyc || exit 3
popd
- pushd $VO_CMS_SW_DIR/$SCRAM_ARCH/external/cherrypy/*/lib/python2.6/site-packages
+ pushd $VO_CMS_SW_DIR/$SCRAM_ARCH/external/cherrypy/*/lib/python2.7/site-packages
zip -rq $STARTDIR/CRAB3.zip cherrypy -x \*.pyc
popd
diff --git a/scripts/cmscp.py b/scripts/cmscp.py
index c2b8499..a78b8fd 100755
--- a/scripts/cmscp.py
+++ b/scripts/cmscp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python2.7
from __future__ import print_function
import warnings
diff --git a/setup.py b/setup.py
index 4e474e1..c99ca4b 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python2.7
"""
NOTE: This is intended to run automagically. Keep the deps minimal
"""