summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorErik Rose <erik@mozilla.com>2011-11-18 17:34:29 -0800
committerErik Rose <erik@mozilla.com>2011-11-18 17:34:29 -0800
commit5963fd875707193349af6b77ec9dff280b46811f (patch)
tree88e4887a26f8860b280004d91152c385c9d1f05f /setup.py
parent6c84202286e55eb3e4e86541a61fef668f091689 (diff)
downloadblessings-5963fd875707193349af6b77ec9dff280b46811f.tar.gz
Bootstrap Sphinx docs.
* Clean up docstrings' Sphinx formatting. * Put a version SPOT in __init__.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index a36feee..bc0d3f4 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,8 @@ import sys
from setuptools import setup, find_packages
+from blessings import __version__
+
extra_setup = {}
if sys.version_info >= (3,):
@@ -9,7 +11,7 @@ if sys.version_info >= (3,):
setup(
name='blessings',
- version='1.1',
+ version='.'.join(str(i) for i in __version__),
description='A thin, practical wrapper around terminal formatting, positioning, and more',
long_description=open('README.rst').read(),
author='Erik Rose',