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

@@ -180,8 +180,10 @@ pythonpack:
#make clean
cd subtree/rabit;make clean;cd ..
rm -rf xgboost-deploy xgboost*.tar.gz
#pip install pypandoc and also brew/apt-get install pandoc
python python-package/conv_rst.py
cp -r python-package xgboost-deploy
cp *.md xgboost-deploy/
#cp *.md xgboost-deploy/
cp LICENSE xgboost-deploy/
cp Makefile xgboost-deploy/xgboost
cp -r wrapper xgboost-deploy/xgboost
@@ -189,6 +191,7 @@ pythonpack:
cp -r multi-node xgboost-deploy/xgboost
cp -r windows xgboost-deploy/xgboost
cp -r src xgboost-deploy/xgboost
cp python-package/setup_pip.py xgboost-deploy/setup.py
#make python
pythonbuild: