Skip to content

Commit f4d00fe

Browse files
Merge pull request #106 from timvaillancourt/MCB_1.0-bugfix17
MCB_1.0: Use yconf release 0.3.4 instead of "hack", now that it is released
2 parents 5df5c14 + 6c3939b commit f4d00fe

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ PyYAML==3.12
66
boto==2.45.0
77
filechunkio==1.8
88
python-dateutil==2.2
9+
yconf==0.3.4

scripts/build.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,13 @@ if [ -d ${srcdir} ]; then
9494
exit 1
9595
fi
9696

97-
# Get git commit 229a8280c43eaad71085361e5a5e13a20a3d37ea of yconf until 0.3.4 is released
98-
# When is 0.3.4 is released, delete this block and add 'yconf==0.3.4' to requirements.txt,
99-
# also remove yconf path from pex command at line 116.
100-
yconf_github=https://github.com/kampka/yconf
101-
yconf_commit=229a8280c43eaad71085361e5a5e13a20a3d37ea
102-
if [ ! -d ${tmpdir}/yconf ]; then
103-
git clone ${yconf_github} ${tmpdir}/yconf
104-
fi
105-
pushd ${tmpdir}/yconf
106-
git reset --hard ${yconf_commit}
107-
popd
108-
# End of yconf block
109-
11097
if [ ! -d ${pexdir} ]; then
11198
mkdir -p ${pexdir}
11299
else
113100
rm -f ${pexdir}/build/mongodb_consistent_backup-*.whl
114101
fi
115102
[ ! -d ${bindir} ] && mkdir -p ${bindir}
116-
${venvdir}/bin/python2.7 ${venvdir}/bin/pex -o ${output_file} -m ${mod_name} -r ${require_file} --pex-root=${pexdir} ${builddir} ${tmpdir}/yconf
103+
${venvdir}/bin/python2.7 ${venvdir}/bin/pex -o ${output_file} -m ${mod_name} -r ${require_file} --pex-root=${pexdir} ${builddir}
117104
if [ $? -lt 1 ] && [ -x ${output_file} ]; then
118105
echo "pex executable written to '$output_file'"
119106
else

0 commit comments

Comments
 (0)