From 4daa2535d5f7e1a9ff7576544c0c58717f039e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Juvenal?= Date: Thu, 11 Jul 2024 10:45:11 -0300 Subject: [PATCH] Run tests with django-render-block==0.10b1 --- setup.py | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/setup.py b/setup.py index 5c5eb92..b9acf7a 100644 --- a/setup.py +++ b/setup.py @@ -3,48 +3,46 @@ from setuptools import setup, find_packages DESCRIPTION = "A Django oriented templated / transaction email abstraction" -VERSION = '3.0.1' +VERSION = "3.0.1" LONG_DESCRIPTION = None try: - LONG_DESCRIPTION = open('README.rst').read() + LONG_DESCRIPTION = open("README.rst").read() except: pass -requirements = [ - 'django-render-block>=0.5' -] +requirements = ["django-render-block==0.10b1"] # python setup.py publish -if sys.argv[-1] == 'publish': +if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() CLASSIFIERS = [ - 'Development Status :: 5 - Production/Stable', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Framework :: Django', + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Topic :: Software Development :: Libraries :: Python Modules", + "Framework :: Django", ] setup( - name='django-templated-email', + name="django-templated-email", version=VERSION, packages=find_packages(exclude=("tests", "tests.*")), include_package_data=True, - author='Bradley Whittington', - author_email='radbrad182@gmail.com', - url='http://github.com/vintasoftware/django-templated-email/', - license='MIT', + author="Bradley Whittington", + author_email="radbrad182@gmail.com", + url="http://github.com/vintasoftware/django-templated-email/", + license="MIT", description=DESCRIPTION, long_description=LONG_DESCRIPTION, - long_description_content_type='text/x-rst', - platforms=['any'], + long_description_content_type="text/x-rst", + platforms=["any"], classifiers=CLASSIFIERS, install_requires=requirements, )