root/setup.py

Revision 205:acd252641599, 2.1 KB (checked in by Menno Smits <menno@…>, 12 months ago)

changed download URL to .zip version since gzip and tar isn't common on windows hosts

Line 
1#!/usr/bin/env python
2
3# Copyright (c) 2011, Menno Smits
4# Released subject to the New BSD License
5# Please see http://en.wikipedia.org/wiki/BSD_licenses
6
7
8# bootstrap setuptools if necessary
9import distribute_setup
10distribute_setup.use_setuptools()
11
12from setuptools import setup, find_packages
13
14import imapclient
15version = imapclient.__version__
16
17desc = """\
18IMAPClient aims to be a easy-to-use, Pythonic and complete IMAP client library with no dependencies outside the Python standard library.
19
20Features:
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
29IMAPClient includes units tests for more complex functionality and a automated functional test that can be run against a live IMAP server.
30"""
31
32setup(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'])
Note: See TracBrowser for help on using the browser.