mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
message copy in database. Bumping version number to 2.1 * Walks through incoming message, write attachments to disk as they are found, and alters message body removing actual attachment body, and adding header 'X-Django-Mailbox-Interpolate-Attachment' referencing the ID of the stored attachment. * When calling ``get_email_object``, will walk through stored message, and 're-hydrate' the message by finding said headers, searching for the appropriate record in the MessageAttachments table, and rebuild the message object as closely as possible. Minor fixes: * Properly collect text/plain content from any part of the message; previously would only check the message's first level of payloads, now walks through all payloads, building a string of all text/plain content. * Remove use of deprecated `assertEquals` message.
46 lines
1.5 KiB
Python
Executable file
46 lines
1.5 KiB
Python
Executable file
from setuptools import setup
|
|
|
|
tests_require = [
|
|
'django',
|
|
]
|
|
|
|
setup(
|
|
name='django-mailbox',
|
|
version='2.1',
|
|
url='http://bitbucket.org/latestrevision/django-mailbox/',
|
|
description=(
|
|
'Import mail from POP3, IMAP, local mailboxes or directly from '
|
|
'Postfix or Exim4 into your Django application automatically.'
|
|
),
|
|
author='Adam Coddington',
|
|
author_email='me@adamcoddington.net',
|
|
tests_require=tests_require,
|
|
extras_require={'test': tests_require},
|
|
test_suite='django_mailbox.runtests.runtests',
|
|
classifiers=[
|
|
'Framework :: Django',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Topic :: Communications :: Email',
|
|
'Topic :: Communications :: Email :: Post-Office',
|
|
'Topic :: Communications :: Email :: Post-Office :: IMAP',
|
|
'Topic :: Communications :: Email :: Post-Office :: POP3',
|
|
'Topic :: Communications :: Email :: Email Clients (MUA)',
|
|
],
|
|
packages=[
|
|
'django_mailbox',
|
|
'django_mailbox.management',
|
|
'django_mailbox.management.commands',
|
|
'django_mailbox.migrations',
|
|
'django_mailbox.transports',
|
|
'django_mailbox.tests',
|
|
],
|
|
install_requires=[
|
|
'six'
|
|
]
|
|
)
|