This repository was archived by the owner on Dec 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +76
-47
lines changed Expand file tree Collapse file tree 11 files changed +76
-47
lines changed Original file line number Diff line number Diff line change 1+ sudo : false
12language : python
3+
24python :
3- - 2.7
4- sudo : false
5+ - " 2.7"
6+ - " 3.4"
7+ - " 3.5"
8+ - " 3.6"
9+
10+ env :
11+ matrix :
12+ - django19
13+ - django110
14+ - django111
15+ - djangomaster
16+
17+ matrix :
18+ fast_finish : true
19+ include :
20+ - python : " 3.4"
21+ env : flake8
22+ exclude :
23+ - python : " 2.7"
24+ env : djangomaster
25+ - python : " 3.6"
26+ env : django19
27+ - python : " 3.6"
28+ env : django111
29+ allow_failures :
30+ - env : djangomaster
31+
32+ cache :
33+ directories :
34+ - $HOME/.cache/pip
35+ - $TRAVIS_BUILD_DIR/.tox
36+
537install :
6- - pip install tox
38+ - pip install --upgrade pip wheel setuptools
39+ - pip install coveralls codacy-coverage tox-travis
40+
741script :
8- - tox -e flake8
9- - tox -e travis
42+ - tox
43+
44+ after_success :
45+ - coveralls
46+ - python-codacy-coverage -r coverage.xml
Original file line number Diff line number Diff line change 22
33We'd like to thank the following people for their contributions.
44
5- - Paulo Truta < jpt@eurotux.com >
5+ - Paulo Truta
66- Rui Freitas < a72399@alunos.uminho.pt >
77- Sandro Rodrigues < srtabs@gmail.com >
88- Tiago Brito <tiago.brito3@gmail.com >
Original file line number Diff line number Diff line change @@ -4,5 +4,9 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
7- ## 0.1.0 - 2017-09-13
7+ ## [ 0.1.1] - 2017-09-15
8+ ### Added
9+ - Support to python 3.4, 3.5 and 3.6 and django 1.9, 1.10 and 1.11.
10+
11+ ## [ 0.1.0] - 2017-09-13
812- First release on PyPi
Original file line number Diff line number Diff line change 1+ include AUTHORS.md
2+ include CHANGELOG.md
3+ include CODE_OF_CONDUCT.md
14include LICENSE
25include MANIFEST.in
3- include README.md
6+ include README.rst
47recursive-include cbmail/templates *
Original file line number Diff line number Diff line change 11Django CBMail
22================
33
4- |Build Status | |Codacy Badge | |Coverage Status | |BCH compliance |
4+ |Pypi | | Build Status | |Codacy Badge | |Coverage Status | |BCH compliance |
55
66Django module to easily send templated emails in a DRY way using
77classes, just like Class Based Views.
@@ -84,6 +84,8 @@ projects and commercial products.
8484.. _Settings reference : #settings-reference
8585.. _License : #license
8686
87+ .. |Pypi | image :: https://img.shields.io/pypi/v/django-cbmail.svg?style=flat-square
88+ :target: https://pypi.python.org/pypi/django-cbmail
8789.. |Build Status | image :: https://travis-ci.org/dipcode-software/django-cbmail.svg?branch=master
8890 :target: https://travis-ci.org/dipcode-software/django-cbmail
8991.. |Codacy Badge | image :: https://api.codacy.com/project/badge/Grade/d01ebbe43c684d478cacc530e44633ad
Original file line number Diff line number Diff line change 11default_app_config = 'cbmail.apps.CBMAilConfig'
22
3- __version__ = '0.1.0 '
3+ __version__ = '0.1.1 '
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class TestBaseObject(BaseMail):
1717
1818 def get_attachments (self ):
1919 f = NamedTemporaryFile ()
20- f .write ('unit test' )
20+ f .write (b 'unit test' )
2121 f .seek (0 )
2222 attachment = open (f .name , 'rb' )
2323 att = Attachment (
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212# Package meta-data.
1313VERSION = __import__ ("cbmail" ).__version__
1414NAME = 'django-cbmail'
15- DESCRIPTION = 'Django module to easily send templated emails. '
15+ DESCRIPTION = 'Django module to easily send templated emails in a DRY way '
1616URL = 'https://github.com/dipcode-software/django-cbmail/'
1717EMAIL = 'team@dipcode.com'
1818AUTHOR = 'Dipcode'
@@ -83,12 +83,16 @@ class DevelopmentPublishCommand(PublishCommand):
8383 classifiers = [
8484 'Environment :: Web Environment' ,
8585 'Framework :: Django' ,
86+ 'Framework :: Django :: 1.10' ,
8687 'Framework :: Django :: 1.11' ,
8788 'Intended Audience :: Developers' ,
8889 'License :: OSI Approved :: MIT License' ,
8990 'Operating System :: OS Independent' ,
9091 'Programming Language :: Python' ,
9192 'Programming Language :: Python :: 2.7' ,
93+ 'Programming Language :: Python :: 3.4' ,
94+ 'Programming Language :: Python :: 3.5' ,
95+ 'Programming Language :: Python :: 3.6' ,
9296 ],
9397 cmdclass = {
9498 'publish_dev' : DevelopmentPublishCommand ,
You can’t perform that action at this time.
0 commit comments