aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSebastian Spaeth <sebastian@sspaeth.de>2010-03-22 12:32:44 +0100
committerSebastian Spaeth <sebastian@sspaeth.de>2010-03-22 12:32:44 +0100
commit2dd0cf8f5bbf63c0e0a423344de95e9d433bf7af (patch)
tree44b2eb974c2e22912cb4c9c028371af538676a89 /setup.py
parent2b32acacbd02ad27e96a2eb234ff3d92de5e87d4 (diff)
Make __VERSION__ available via cnotmuch.notmuch.__VERSION__ and improve README
Rather than hardcoding the version in various places, we export it from the module itself. Also improve the README somewhat.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index ba41de19..22d44d3e 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,14 @@
#!/usr/bin/env python
from distutils.core import setup
-
+from cnotmuch.notmuch import __VERSION__
setup(name='cnotmuch',
- version='0.1',
- description='Python binding og the notmuch mail search and indexing library.',
+ version=__VERSION__,
+ description='Python binding of the notmuch mail search and indexing library.',
author='Sebastian Spaeth',
author_email='Sebastian@SSpaeth.de',
url='http://bitbucket.org/spaetz/cnotmuch/',
- download_url='http://bitbucket.org/spaetz/cnotmuch/get/v0.1.tar.gz',
+ download_url='http://bitbucket.org/spaetz/cnotmuch/get/v'+__VERSION__+'.tar.gz',
packages=['cnotmuch'],
keywords = ["library", "email"],
long_description="""The cnotmuch module provides an interface to the `notmuch <http://notmuchmail.org>`_ functionality, directly interfacing with a shared notmuch library. Notmuch provides a maildatabase that allows for extremely quick searching and filtering of your email according to various criteria.