#!/usr/bin/env python
# -*- coding: utf-8 -*-
 
from setuptools import setup, find_packages
 
import materializecssform
 
setup(
 
    name='django-materializecss-form',
 
    version=materializecssform.__version__,
 
    packages=find_packages(),
 
    author="Florent CLAPIÉ",
 
    author_email="clapie.florent@gmail.com",
 
    description="A simple Django form template tag to work with Materializecss",

    long_description=open('README.rst').read(),
 
    # install_requires= ,
 
    include_package_data=True,
 
    url='https://github.com/florent1933/django-materializecss-form',
 
    classifiers=[
        "Programming Language :: Python",
        "Development Status :: 3 - Alpha",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2.7",
        "Topic :: Documentation :: Sphinx",
    ],
 
    license="MIT",
)

#!/usr/bin/env python
# -*- coding: utf-8 -*-
 
from setuptools import setup, find_packages
 
import materializecssform
 
setup(
 
    name='django-materializecss-form',
 
    version=materializecssform.__version__,
 
    packages=find_packages(),
 
    author="Florent CLAPIÉ",
 
    author_email="clapie.florent@gmail.com",
 
    description="A simple Django form template tag to work with Materializecss",

    long_description=open('README.rst').read(),
 
    # install_requires= ,
 
    include_package_data=True,
 
    url='https://github.com/florent1933/django-materializecss-form',
 
    classifiers=[
        "Programming Language :: Python",
        "Development Status :: 3 - Alpha",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2.7",
        "Topic :: Documentation :: Sphinx",
    ],
 
    license="MIT",

    zip_safe=False
)

Fix template loading when installed with easy_install
Fix template loading when installed with easy_install

If you install a package using `easy_install` or `setup.py install`, it will default to installing as a zipped egg. Django is by default unable to find templates inside zipped archives and even with an egg template loader enabled it's very slow as it involves unpacking the archive when the template is needed.

Setting `zip_safe=False` forces `setuptools` to always install the package uncompressed.