diff --git a/pyramid_celery/loaders.py b/pyramid_celery/loaders.py index 199a8d6..ffe81a5 100644 --- a/pyramid_celery/loaders.py +++ b/pyramid_celery/loaders.py @@ -92,7 +92,7 @@ def get_route_config(parser, section): class INILoader(celery.loaders.base.BaseLoader): - ConfigParser = configparser.SafeConfigParser + ConfigParser = configparser.ConfigParser def __init__(self, app, **kwargs): self.celery_conf = kwargs.pop('ini_file') diff --git a/setup.cfg b/setup.cfg index 1ddb900..39f541f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,7 @@ norecursedirs = addopts = -rxEfs - --strict + --strict-markers --doctest-modules --doctest-glob=\*.rst --tb=short diff --git a/setup.py b/setup.py index 38dc01a..e05c87c 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ import os -import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) @@ -8,36 +7,37 @@ requires = ['pyramid', 'celery'] -setup(name='pyramid_celery', - version='4.0.0', - description='Celery integration with pyramid', - long_description=README + "\n" + CHANGES, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Operating System :: Unix", - "Operating System :: POSIX", - "Operating System :: Microsoft :: Windows", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", - ], - author='John Anderson', - author_email='sontek@gmail.com', - url='https://github.com/sontek/pyramid_celery', - keywords='paste pyramid celery message queue amqp job task distributed', - license='MIT', - packages=find_packages(), - include_package_data=True, - zip_safe=False, - install_requires=requires, - tests_require=requires + ['pytest'], - python_requires='>=3.6', - test_suite="pyramid_celery", +setup( + name='pyramid_celery', + version='4.0.0', + description='Celery integration with pyramid', + long_description=README + "\n" + CHANGES, + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: Unix", + "Operating System :: POSIX", + "Operating System :: Microsoft :: Windows", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + ], + author='John Anderson', + author_email='sontek@gmail.com', + url='https://github.com/sontek/pyramid_celery', + keywords='paste pyramid celery message queue amqp job task distributed', + license='MIT', + packages=find_packages(), + include_package_data=True, + zip_safe=False, + install_requires=requires, + tests_require=requires + ['pytest'], + python_requires='>=3.6', + test_suite="pyramid_celery", )