| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | import distribute_setup |
|---|
| 10 | distribute_setup.use_setuptools() |
|---|
| 11 | |
|---|
| 12 | from setuptools import setup, find_packages |
|---|
| 13 | |
|---|
| 14 | import imapclient |
|---|
| 15 | version = imapclient.__version__ |
|---|
| 16 | |
|---|
| 17 | desc = """\ |
|---|
| 18 | IMAPClient aims to be a easy-to-use, Pythonic and complete IMAP client library with no dependencies outside the Python standard library. |
|---|
| 19 | |
|---|
| 20 | Features: |
|---|
| 21 | * Arguments and return values are natural Python types. |
|---|
| 22 | * IMAP server responses are fully parsed and readily usable. |
|---|
| 23 | * IMAP unique message IDs (UIDs) are handled transparently. |
|---|
| 24 | * Internationalised mailbox names are transparently handled. |
|---|
| 25 | * Time zones are correctly handled. |
|---|
| 26 | * Convenience methods are provided for commonly used functionality. |
|---|
| 27 | * Exceptions are raised when errors occur. |
|---|
| 28 | |
|---|
| 29 | IMAPClient includes units tests for more complex functionality and a automated functional test that can be run against a live IMAP server. |
|---|
| 30 | """ |
|---|
| 31 | |
|---|
| 32 | setup(name='IMAPClient', |
|---|
| 33 | version=version, |
|---|
| 34 | author="Menno Smits", |
|---|
| 35 | author_email="menno@freshfoo.com", |
|---|
| 36 | license="http://en.wikipedia.org/wiki/BSD_licenses", |
|---|
| 37 | url="http://imapclient.freshfoo.com/", |
|---|
| 38 | download_url='http://freshfoo.com/projects/IMAPClient/IMAPClient-%s.zip' % version, |
|---|
| 39 | packages=find_packages(), |
|---|
| 40 | package_data=dict(imapclient=['examples/*.py']), |
|---|
| 41 | description="Easy-to-use, Pythonic and complete IMAP client library with " |
|---|
| 42 | "no dependencies outside the Python standard library.", |
|---|
| 43 | long_description=desc, |
|---|
| 44 | classifiers=[ |
|---|
| 45 | 'Development Status :: 5 - Production/Stable', |
|---|
| 46 | 'Intended Audience :: Developers', |
|---|
| 47 | 'License :: OSI Approved :: BSD License', |
|---|
| 48 | 'Operating System :: OS Independent', |
|---|
| 49 | 'Natural Language :: English', |
|---|
| 50 | 'Programming Language :: Python', |
|---|
| 51 | 'Topic :: Communications :: Email :: Post-Office :: IMAP', |
|---|
| 52 | 'Topic :: Internet', |
|---|
| 53 | 'Topic :: Software Development :: Libraries :: Python Modules', |
|---|
| 54 | 'Topic :: System :: Networking']) |
|---|