From c3239d3eb47eeaa1ed96a3169c0effc4e68185de Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Mon, 22 Mar 2010 10:48:03 +0100 Subject: [PATCH] setup.py and MANIFEST.in for the 0.1 release. Unfortunately post-version tag. --- .hgignore | 5 ++++- MANIFEST.in | 2 ++ setup.py | 30 ++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/.hgignore b/.hgignore index b4c079d5..1d235a30 100644 --- a/.hgignore +++ b/.hgignore @@ -1,5 +1,8 @@ .*\.pyc$ ~$ +^MANIFEST ^docs/html ^docs/build -^test/test \ No newline at end of file +^test/test +^dist +^build \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..c83be4b1 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include notmuch +#recursive-include docs/html * \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..ba41de19 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python + +from distutils.core import setup + +setup(name='cnotmuch', + version='0.1', + description='Python binding og 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', + packages=['cnotmuch'], + keywords = ["library", "email"], + long_description="""The cnotmuch module provides an interface to the `notmuch `_ 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. + +The documentation for the latest cnotmuch release can be `viewed online `_. + +The classes notmuch.Database, notmuch.Query provide most of the core functionality, returning notmuch.Messages and notmuch.Tags. +""", + classifiers=['Development Status :: 2 - Pre-Alpha', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 3', + 'Topic :: Communications :: Email', + 'Topic :: Software Development :: Libraries' + ], + platforms='', + license='http://www.gnu.org/licenses/gpl-3.0.txt', + ) -- 2.26.2