-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make HappyBase a proper Python distribution
- Loading branch information
Showing
4 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include Makefile | ||
include *.rst | ||
include doc/conf.py doc/*.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="[email protected]", | ||
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", | ||
) | ||
) |