Skip to content
Browse files

setup.py no longer breaks without thrift and now requires it on install

  • Loading branch information...
1 parent 38ec4d5 commit 7c48b427d72ca1bdf7fb18c6262306b0df6814b3 @vomjom vomjom committed Mar 3, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 setup.py
View
6 setup.py
@@ -2,6 +2,9 @@
# -*- coding: utf-8 -*-
#
+__version_info__ = (0, 1, 1)
+__version__ = '.'.join([str(v) for v in __version_info__])
+
"""pycassa is a Cassandra library with the following features:
1. Auto-failover single or thread-local connections
@@ -23,8 +26,6 @@
optional_packages.append(package)
sys.argv.remove(flag)
-from pycassa import __version__
-
setup(
name = 'pycassa',
version = __version__,
@@ -38,4 +39,5 @@
keywords = 'cassandra client db distributed thrift',
packages = ['pycassa']+optional_packages,
platforms = 'any',
+ install_requires = ['Thrift']
)

0 comments on commit 7c48b42

Please sign in to comment.
Something went wrong with that request. Please try again.