Skip to content

Commit

Permalink
0.4.12 and some housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasserra committed Jan 18, 2017
1 parent ef39bb3 commit 53aef47
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
5 changes: 2 additions & 3 deletions postmark/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.4.10'
__version__ = '0.4.12'
__author__ = "Dave Martorana (http://davemartorana.com), Richard Cooper (http://frozenskys.com), Bill Jones (oraclebill), Dmitry Golomidov (deeGraYve)"
__date__ = '2010-April-14'
__url__ = 'http://postmarkapp.com'
Expand Down Expand Up @@ -84,5 +84,4 @@
'''


from .core import *
from postmark.core import *
9 changes: 2 additions & 7 deletions postmark/core.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
__version__ = '0.4.11'
__author__ = "Dave Martorana (http://davemartorana.com), Richard Cooper (http://frozenskys.com), Bill Jones (oraclebill), Dmitry Golomidov (deeGraYve)"
__date__ = '2010-April-14'
__url__ = 'http://postmarkapp.com'
__copyright__ = "(C) 2009-2014 David Martorana, Wildbit LLC, Python Software Foundation."

#
# Imports (JSON library based on import try)

from postmark import __version__

try:
from email.mime.base import MIMEBase
except ImportError as e:
Expand All @@ -22,7 +18,6 @@
from http.client import HTTPConnection
from urllib.parse import urlencode

import collections
from contextlib import closing

try:
Expand Down
2 changes: 1 addition & 1 deletion postmark/django_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.core.mail import EmailMessage, EmailMultiAlternatives
import base64

from .core import PMMail, PMBatchMail
from postmark.core import PMMail, PMBatchMail

class PMEmailMessage(EmailMessage):
def __init__(self, *args, **kwargs):
Expand Down
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
from distutils.core import setup
from distutils.util import convert_path

import postmark

postmark = {}
ver_path = convert_path('postmark/__init__.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), postmark)

setup(
name="python-postmark",
version=postmark.__version__,
version=postmark['__version__'],
packages=['postmark'],
author="Dave Martorana (http://davemartorana.com), Richard Cooper (http://frozenskys.com), Bill Jones (oraclebill), Dmitry Golomidov (deeGraYve)",
author_email="[email protected]",
license='BSD',
description="Postmark library for Python 2.7 and greater.",
long_description="Note: To use Python 2.4 or 2.5, please use python-postmark version 0.3.2. Python 2.6 use version 0.4.4.",
Expand Down

0 comments on commit 53aef47

Please sign in to comment.