Skip to content
Jing Wang edited this page Mar 29, 2017 · 13 revisions

Dev notes

Remove dev from setup.cfg's tag_build

python setup.py sdist
gpg --detach-sign --armor *.tar.gz
twine upload PyHive*

Local testing

Start with http://releases.ubuntu.com/12.04/

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install -y git oracle-java8-installer python-virtualenv python-dev g++
git clone https://github.com/dropbox/PyHive.git
cd PyHive
sudo CDH=cdh5 PRESTO=0.147 scripts/travis-install.sh

virtualenv --no-site-packages env
source env/bin/activate
pip install --upgrade pip
pip install -e .
pip install sqlalchemy==1.0.12
pip install -r dev_requirements.txt
Clone this wiki locally