Skip to content

Commit

Permalink
Added setup.py, package dir for easier installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lundin committed Dec 22, 2009
1 parent cee4168 commit 9050881
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions __init__.py → pycasso/__init__.py
@@ -1,3 +1,6 @@
__version_info__ = (0, 1)
__version__ = '.'.join([str(v) for v in __version_info__])

from pycasso.columnfamily import *
from pycasso.columnfamilymap import *
from pycasso.connection import *
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions setup.py
@@ -0,0 +1,33 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#

"""pycasso is a Cassandra library with the following features:
1. Auto-failover single or thread-local connections
2. A simplified version of the thrift interface
3. A method to map an existing class to a Cassandra ColumnFamily.
4. Support for SuperColumns
"""

from distutils.core import setup

from pycasso import __version__

setup(
name = 'pycasso',
version = __version__,
author = 'Jonathan Hseu',
author_email = 'vomjom@vomjom.net',
description = 'Simple python library for Cassandra',
long_description = __doc__,
url = 'http://github.com/vomjom/pycasso',
download_url = 'http://github.com/vomjom/pycasso',
license = 'BSD',
keywords = 'cassandra client db distributed thrift',
# data_files = [('man/man1', ['grind.1'])],
packages = ['pycasso'],
platforms = 'any',

)

0 comments on commit 9050881

Please sign in to comment.