Skip to content

Commit b71ff30

Browse files
Use latest head of yconf
1 parent 66c5591 commit b71ff30

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ pynsca==1.5
55
PyYAML==3.12
66
boto==2.45.0
77
filechunkio==1.8
8-
yconf==0.3.3
98
python-dateutil==2.2

scripts/build.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,22 @@ if [ -d ${srcdir} ]; then
9494
exit 1
9595
fi
9696

97+
# Get git HEAD of yconf
98+
if [ -d ${tmpdir}/yconf ]; then
99+
pushd ${tmpdir}/yconf
100+
git pull
101+
popd
102+
else
103+
git clone https://github.com/kampka/yconf ${tmpdir}/yconf
104+
fi
105+
97106
if [ ! -d ${pexdir} ]; then
98107
mkdir -p ${pexdir}
99108
else
100109
rm -f ${pexdir}/build/mongodb_consistent_backup-*.whl
101110
fi
102111
[ ! -d ${bindir} ] && mkdir -p ${bindir}
103-
${venvdir}/bin/python2.7 ${venvdir}/bin/pex -o ${output_file} -m ${mod_name} -r ${require_file} --pex-root=${pexdir} ${builddir}
112+
${venvdir}/bin/python2.7 ${venvdir}/bin/pex -o ${output_file} -m ${mod_name} -r ${require_file} --pex-root=${pexdir} ${builddir} ${tmpdir}/yconf
104113
if [ $? -lt 1 ] && [ -x ${output_file} ]; then
105114
echo "pex executable written to '$output_file'"
106115
else

0 commit comments

Comments
 (0)