fix pushd problem of pip building, convert README to rst for PyPI

This commit is contained in:
phunterlau
2015-11-11 23:03:07 -08:00
parent 7b3fd92015
commit ee4096d23e
8 changed files with 75 additions and 7 deletions

View File

@@ -10,7 +10,9 @@
# conflict with build.sh which is for everything.
pushd xgboost
#pushd xgboost
oldpath=`pwd`
cd ./xgboost/
#remove the pre-compiled .so and trigger the system's on-the-fly compiling
make clean
if make python; then
@@ -25,4 +27,4 @@ else
echo "If you want multi-threaded version"
echo "See additional instructions in doc/build.md"
fi
popd
cd $oldpath