Creating pypi package - 50onRed/xgboost GitHub Wiki
Launch a DataBricks cluster with 1 worker node and be sure to enable SSH access
SSH into the cluster
Clone this repository with the command git clone --recursive https://github.com/50onRed/xgboost.git
Update apt with sudo apt-get update
Install cmake and pip3 sudo apt-get install -y python3-pip cmake
cd into the xgboost folder
Edit python-package/xgboost/VERSION to reflect the current version of XGBoost you are building. This will be referenced from the setup.py file so it must be a new version or pypi will not accept it
Run make pippack
cd into xgboost-python folder
Run sh prep_pip.sh
Run sudo pip3 install twine
Run twine upload dist/redspark-xgboost-{VERSION}.tar.gz where VERSION is replaced with the current build version