Skip to content

Commit

Permalink
Make HappyBase a proper Python distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
wbolster committed May 20, 2012
1 parent ae4b7e4 commit bf3a00d
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,3 @@
include Makefile
include *.rst
include doc/conf.py doc/*.rst
13 changes: 13 additions & 0 deletions Makefile
@@ -0,0 +1,13 @@
.PHONY: all doc test clean

all: doc clean

doc:
python setup.py build_sphinx

test:
-find coverage/ -mindepth 1 -delete
python $$(which nosetests) $${TESTS}

clean:
find . -name '*.py[co]' -delete
15 changes: 15 additions & 0 deletions setup.cfg
@@ -0,0 +1,15 @@
[nosetests]
stop = 1
verbosity = 2
nocapture = 1
with-coverage = 1
cover-erase = 1
cover-package=happybase.api,happybase.util,tests
cover-tests = 1
cover-html = 1
cover-html-dir = coverage/

[build_sphinx]
source-dir = doc/
build-dir = doc/build/

24 changes: 24 additions & 0 deletions setup.py
@@ -0,0 +1,24 @@
from os.path import join, dirname
from setuptools import find_packages, setup

import happybase

setup(name='happybase',
version=happybase.__version__,
description="A developer-friendly Python library to interact "
"with Apache HBase",
long_description=open(join(dirname(__file__), 'README.rst')).read(),
author="Wouter Bolsterlee",
author_email="uws@xs4all.nl",
url='https://github.com/wbolster/happybase',
packages=find_packages(),
license="MIT",
classifiers=(
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
)
)

0 comments on commit bf3a00d

Please sign in to comment.