Make _version module semi-private

This commit is contained in:
Wouter Bolsterlee
2012-05-25 00:03:10 +02:00
parent 6c03bdd8d4
commit 8116d576ff
4 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ copyright = u'2012'
# built documents.
#
# The short X.Y version.
execfile(os.path.join(os.path.dirname(__file__), '../happybase/version.py'))
execfile(os.path.join(os.path.dirname(__file__), '../happybase/_version.py'))
version = __version__
# The full version, including alpha/beta/rc tags.

View File

@@ -2,6 +2,6 @@
HappyBase, a pythonic interface for HBase using Thrift
"""
from .version import __version__
from ._version import __version__
from .api import *

View File

@@ -1,7 +1,7 @@
from os.path import join, dirname
from setuptools import find_packages, setup
execfile('happybase/version.py')
execfile('happybase/_version.py')
def file_contents(filename):