# -*- coding: utf-8 -*- import os gettext = lambda s: s import easy_thumbnails from distutils.version import LooseVersion if hasattr(easy_thumbnails, 'get_version'): ET_2 = LooseVersion(easy_thumbnails.get_version()) > LooseVersion('2.0') else: ET_2 = LooseVersion(easy_thumbnails.VERSION) > LooseVersion('2.0') urlpatterns = [] def configure(**extra): from django.conf import settings os.environ['DJANGO_SETTINGS_MODULE'] = 'filer.test_utils.cli' defaults = dict( DEBUG=True, TEMPLATE_DEBUG=True, DATABASE_SUPPORTS_TRANSACTIONS=True, DATABASES={'default': { 'ENGINE': 'django.db.backends.sqlite3' }}, USE_I18N=True, MEDIA_ROOT='/media/', STATIC_ROOT='/static/', MEDIA_URL='/media/', STATIC_URL='/static/', EMAIL_BACKEND='django.core.mail.backends.locmem.EmailBackend',
Output the contents of one or more files to a single concatenated string. """ output = [] for filename in filenames: f = open(filename) try: output.append(f.read()) finally: f.close() return '\n'.join(output) setup( name='easy-thumbnails', version=get_version(join='-'), url='http://github.com/SmileyChris/easy-thumbnails', #download_url='', description='Easy thumbnails for Django', long_description=read_files('README'), author='Chris Beaven', author_email='*****@*****.**', platforms=['any'], packages=[ 'easy_thumbnails', 'easy_thumbnails.management', 'easy_thumbnails.management.commands', 'easy_thumbnails.migrations', 'easy_thumbnails.templatetags', 'easy_thumbnails.tests', ],
# The encoding of source files. #source_encoding = 'utf-8' # The master toctree document. master_doc = 'index' # General information about the project. project = u'easy-thumbnails' copyright = u'2009, Chris Beaven' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = get_version(short=True) # The full version, including alpha/beta/rc tags. release = get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = []
# The master toctree document. master_doc = 'index' # General information about the project. project = u'easy-thumbnails' copyright = u'2009, Chris Beaven' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = '%s.%s' % tuple(easy_thumbnails.VERSION[:2]) # The full version, including alpha/beta/rc tags. release = easy_thumbnails.get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = [] # List of directories, relative to source directory, that shouldn't be searched
""" Output the contents of one or more files to a single concatenated string. """ output = [] for filename in filenames: f = codecs.open(filename, encoding="utf-8") try: output.append(f.read()) finally: f.close() return "\n\n".join(output) setup( name="easy-thumbnails", version=easy_thumbnails.get_version(), url="http://github.com/SmileyChris/easy-thumbnails", description="Easy thumbnails for Django", long_description=read_files("README.rst", "CHANGES.rst"), author="Chris Beaven", author_email="*****@*****.**", platforms=["any"], packages=find_packages(), include_package_data=True, install_requires=["django>=1.4.2", "pillow"], cmdclass={"test": DjangoTests}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers",
""" Output the contents of one or more files to a single concatenated string. """ output = [] for filename in filenames: f = codecs.open(filename, encoding='utf-8') try: output.append(f.read()) finally: f.close() return '\n\n'.join(output) setup( name='easy-thumbnails', version=easy_thumbnails.get_version(), url='http://github.com/SmileyChris/easy-thumbnails', description='Easy thumbnails for Django', long_description=read_files('README.rst', 'CHANGES.rst'), author='Chris Beaven', author_email='*****@*****.**', platforms=['any'], packages=find_packages(), include_package_data=True, install_requires=[ 'django>=1.8', 'pillow<4', ], cmdclass={'test': DjangoTests}, classifiers=[ 'Development Status :: 5 - Production/Stable',
Output the contents of one or more files to a single concatenated string. """ output = [] for filename in filenames: f = open(filename) try: output.append(f.read()) finally: f.close() return "\n".join(output) setup( name="easy-thumbnails", version=get_version(join="-"), url="http://github.com/SmileyChris/easy-thumbnails", # download_url='', description="Easy thumbnails for Django", long_description=read_files("README.rst"), author="Chris Beaven", author_email="*****@*****.**", platforms=["any"], packages=[ "easy_thumbnails", "easy_thumbnails.management", "easy_thumbnails.management.commands", "easy_thumbnails.migrations", "easy_thumbnails.templatetags", "easy_thumbnails.tests", ],
# -*- coding: utf-8 -*- import django import os gettext = lambda s: s import easy_thumbnails from distutils.version import LooseVersion if hasattr(easy_thumbnails, 'get_version'): ET_2 = LooseVersion(easy_thumbnails.get_version()) > LooseVersion('2.0') else: ET_2 = LooseVersion(easy_thumbnails.VERSION) > LooseVersion('2.0') DJ_1_7 = LooseVersion(django.get_version()) >= LooseVersion('1.7') urlpatterns = [] def configure(**extra): from django.conf import settings os.environ['DJANGO_SETTINGS_MODULE'] = 'filer.test_utils.cli' defaults = dict( DEBUG=True, TEMPLATE_DEBUG=True, DATABASE_SUPPORTS_TRANSACTIONS=True, DATABASES={ 'default': {'ENGINE': 'django.db.backends.sqlite3'} }, USE_I18N=True, MEDIA_ROOT='/media/', STATIC_ROOT='/static/', MEDIA_URL='/media/',
""" Output the contents of one or more files to a single concatenated string. """ output = [] for filename in filenames: f = codecs.open(filename, encoding='utf-8') try: output.append(f.read()) finally: f.close() return '\n\n'.join(output) setup( name='easy-thumbnails', version="{0}+nimbis.2".format(easy_thumbnails.get_version()), url='http://github.com/SmileyChris/easy-thumbnails', description='Easy thumbnails for Django', long_description=read_files('README.rst', 'CHANGES.rst'), author='Chris Beaven', author_email='*****@*****.**', platforms=['any'], packages=find_packages(), include_package_data=True, install_requires=[ 'django>=1.11,<4.0', 'pillow', ], python_requires='>=3.5', cmdclass={'test': DjangoTests}, classifiers=[