From b236625f0fc8b0549670a6b7d24fbc2b9590cf49 Mon Sep 17 00:00:00 2001 From: Tatsuya Matoba <mtb.toya0403@gmail.com> Date: Wed, 25 Jul 2018 08:28:09 +0000 Subject: [PATCH 1/6] update setup.py --- setup.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e64ef8f..9e1ca3b 100644 --- a/setup.py +++ b/setup.py @@ -28,10 +28,20 @@ from setuptools import setup, find_packages +def read_file(filename): + basepath = os.path.dirname(os.path.dirname(__file__)) + filepath = os.path.join(basepath, filename) + if os.path.exists(filepath): + return open(filepath).read() + else: + return '' + + setup( name='bpmailer', - version='0.38', + version='0.39', description='Mailing utility for Django', + long_description=read_file('README.md'), author='BeProud Inc.', author_email='ian@beproud.jp', url='https://github.com/beproud/bpmailer/', @@ -47,8 +57,9 @@ include_package_data=True, packages=find_packages(), namespace_packages=['beproud', 'beproud.django'], - install_requires=['Django>=1.8'], + install_requires=['Django>=1.8', 'six'], tests_require=['celery>=4.1', 'mock>=0.7.2'], test_suite='tests.main', zip_safe=False, + keywords=['django', 'mail'] ) From 634e4fe17b7f73b594a5548965162d9a7275b48e Mon Sep 17 00:00:00 2001 From: Tatsuya Matoba <mtb.toya0403@gmail.com> Date: Wed, 25 Jul 2018 08:59:53 +0000 Subject: [PATCH 2/6] version 0.39.1 long_description_content_type text/markdown --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9e1ca3b..1942f8f 100644 --- a/setup.py +++ b/setup.py @@ -39,9 +39,10 @@ def read_file(filename): setup( name='bpmailer', - version='0.39', + version='0.39.1', description='Mailing utility for Django', long_description=read_file('README.md'), + long_description_content_type="text/markdown", author='BeProud Inc.', author_email='ian@beproud.jp', url='https://github.com/beproud/bpmailer/', From ecc784a75faaf9f6fdb80a2ccbef84d87a6abdc8 Mon Sep 17 00:00:00 2001 From: Tatsuya Matoba <mtb.toya0403@gmail.com> Date: Thu, 26 Jul 2018 02:13:44 +0000 Subject: [PATCH 3/6] version 0.39.2 email update --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1942f8f..6690775 100644 --- a/setup.py +++ b/setup.py @@ -39,12 +39,12 @@ def read_file(filename): setup( name='bpmailer', - version='0.39.1', + version='0.39.2', description='Mailing utility for Django', long_description=read_file('README.md'), long_description_content_type="text/markdown", author='BeProud Inc.', - author_email='ian@beproud.jp', + author_email='project@beproud.jp', url='https://github.com/beproud/bpmailer/', classifiers=[ 'Development Status :: 3 - Alpha', From 17dc8ad637c9ad51df1b13ee6899b1f50b47a288 Mon Sep 17 00:00:00 2001 From: Tatsuya Matoba <mtb.toya0403@gmail.com> Date: Thu, 26 Jul 2018 02:16:49 +0000 Subject: [PATCH 4/6] bump up version number to 1.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6690775..63357ab 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def read_file(filename): setup( name='bpmailer', - version='0.39.2', + version='1.0', description='Mailing utility for Django', long_description=read_file('README.md'), long_description_content_type="text/markdown", From cffa8a80a4d3cae831f51e1ebe94e04b0a3ffb37 Mon Sep 17 00:00:00 2001 From: Tatsuya Matoba <mtb.toya0403@gmail.com> Date: Thu, 26 Jul 2018 02:44:24 +0000 Subject: [PATCH 5/6] close file, add README.md to MANIFEST.in --- MANIFEST.in | 1 + setup.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index af3cb5e..cfe2b5e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,2 @@ recursive-include beproud/django/mailer/templates * +README.md diff --git a/setup.py b/setup.py index 63357ab..5c50aaa 100644 --- a/setup.py +++ b/setup.py @@ -32,14 +32,16 @@ def read_file(filename): basepath = os.path.dirname(os.path.dirname(__file__)) filepath = os.path.join(basepath, filename) if os.path.exists(filepath): - return open(filepath).read() + with open(filepath) as f: + read_text = f.read() + return read_text else: return '' setup( name='bpmailer', - version='1.0', + version='0.39.3', description='Mailing utility for Django', long_description=read_file('README.md'), long_description_content_type="text/markdown", From 88e27e00920dd8ed26e1db013e4e72158f3758a5 Mon Sep 17 00:00:00 2001 From: Tatsuya Matoba <mtb.toya0403@gmail.com> Date: Thu, 26 Jul 2018 03:09:25 +0000 Subject: [PATCH 6/6] bump up version number to 1.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5c50aaa..c41d2af 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def read_file(filename): setup( name='bpmailer', - version='0.39.3', + version='1.0', description='Mailing utility for Django', long_description=read_file('README.md'), long_description_content_type="text/markdown",