-
Notifications
You must be signed in to change notification settings - Fork 551
Home
Jing Wang edited this page Mar 29, 2017
·
13 revisions
Remove dev
from setup.cfg
's tag_build
python setup.py sdist
gpg --detach-sign --armor *.tar.gz
twine upload PyHive*
Start with http://releases.ubuntu.com/12.04/
echo Etc/UTC | sudo tee /etc/timezone
sudo dpkg-reconfigure --frontend noninteractive tzdata
sudo reboot
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++ libsasl2-dev openssh-server
git clone https://github.com/dropbox/PyHive.git
cd PyHive
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 -r dev_requirements.txt
py.test -v
If rebooting: Rerun travis-install.sh and sudo chmod -R 777 /tmp/hive