Commits

Miki Tebeka committed 31feace

packaging

Comments (0)

Files changed (2)

     author_email='miki.tebeka@gmail.com',
     license='MIT',
     url='https://bitbucket.org/tebeka/hive',
-    py_modules=['hive'],
+    packages=[
+        'hive',
+        'hive.fb303',
+        'hive.fb303_scripts',
+        'hive.hive_metastore',
+        'hive.hive_serde',
+        'hive.hive_service',
+        'hive.queryplan',
+    ],
     install_requires=['thrift'],
 )
+#!/bin/bash
+
+tmp=/tmp/hiveenv
+
+set -e
+
+if [ -e $tmp ]; then
+    rm -rf $tmp
+fi
+virtualenv $tmp
+. ${tmp}/bin/activate
+python setup.py install
+cd /tmp
+python -m hive --version