initial commit

This commit is contained in:
Mathieu Agopian
2013-03-13 11:42:20 +01:00
commit 2ecbe4e087
13 changed files with 720 additions and 0 deletions

35
setup.py Normal file
View File

@@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from os.path import abspath, dirname, join
from setuptools import find_packages, setup
def read_relative_file(filename):
"""Returns contents of the given file, whose path is supposed relative
to this module."""
with open(join(dirname(abspath(__file__)), filename)) as f:
return f.read()
if __name__ == '__main__': # ``import setup`` doesn't trigger setup().
setup(name='mailbot',
version=read_relative_file('VERSION').strip(),
description="MailBot: execute callback on mail reception",
long_description=read_relative_file('README.rst'),
classifiers=['Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python',
],
keywords='mail callback',
author='Mathieu Agopian',
author_email='mathieu.agopian@gmail.com',
url='https://github.com/novagile/mailbot',
license='BSD Licence',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=['imapclient']
)