import os, sys
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

from distutils.core import setup
import wtforms

setup(
    name='WTForms',
    version=wtforms.__version__,
    url='http://wtforms.simplecodes.com/',
    license='BSD',
    author='Thomas Johansson, James Crasta',
    author_email='wtforms@simplecodes.com',
    description='A flexible forms validation and rendering library for python web development.',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    packages=[
        'wtforms',
        'wtforms.fields',
        'wtforms.widgets',
        'wtforms.ext',
        'wtforms.ext.appengine',
        'wtforms.ext.dateutil',
        'wtforms.ext.django',
        'wtforms.ext.django.templatetags',
        'wtforms.ext.sqlalchemy',
    ]
)

import os, sys
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

from distutils.core import setup
import wtforms

setup(
    name='WTForms',
    version=wtforms.__version__,
    url='http://wtforms.simplecodes.com/',
    license='BSD',
    author='Thomas Johansson, James Crasta',
    author_email='wtforms@simplecodes.com',
    description='A flexible forms validation and rendering library for python web development.',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    packages=[
        'wtforms',
        'wtforms.fields',
        'wtforms.widgets',
        'wtforms.ext',
        'wtforms.ext.appengine',
        'wtforms.ext.csrf',
        'wtforms.ext.dateutil',
        'wtforms.ext.django',
        'wtforms.ext.django.templatetags',
        'wtforms.ext.sqlalchemy',
    ]
)

Make sure ext.csrf is installed with WTForms
Make sure ext.csrf is installed with WTForms

  import os, sys
  sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
  
  from distutils.core import setup
  import wtforms
  
  setup(
      name='WTForms',
      version=wtforms.__version__,
      url='http://wtforms.simplecodes.com/',
      license='BSD',
      author='Thomas Johansson, James Crasta',
      author_email='wtforms@simplecodes.com',
      description='A flexible forms validation and rendering library for python web development.',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
          'Topic :: Software Development :: Libraries :: Python Modules'
      ],
      packages=[
          'wtforms',
          'wtforms.fields',
          'wtforms.widgets',
          'wtforms.ext',
          'wtforms.ext.appengine',
+         'wtforms.ext.csrf',
          'wtforms.ext.dateutil',
          'wtforms.ext.django',
          'wtforms.ext.django.templatetags',
          'wtforms.ext.sqlalchemy',
      ]
  )
  
Make sure ext.csrf is installed with WTForms
## Code Before:
import os, sys
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

from distutils.core import setup
import wtforms

setup(
    name='WTForms',
    version=wtforms.__version__,
    url='http://wtforms.simplecodes.com/',
    license='BSD',
    author='Thomas Johansson, James Crasta',
    author_email='wtforms@simplecodes.com',
    description='A flexible forms validation and rendering library for python web development.',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    packages=[
        'wtforms',
        'wtforms.fields',
        'wtforms.widgets',
        'wtforms.ext',
        'wtforms.ext.appengine',
        'wtforms.ext.dateutil',
        'wtforms.ext.django',
        'wtforms.ext.django.templatetags',
        'wtforms.ext.sqlalchemy',
    ]
)

## Instruction:
Make sure ext.csrf is installed with WTForms
## Code After:
import os, sys
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

from distutils.core import setup
import wtforms

setup(
    name='WTForms',
    version=wtforms.__version__,
    url='http://wtforms.simplecodes.com/',
    license='BSD',
    author='Thomas Johansson, James Crasta',
    author_email='wtforms@simplecodes.com',
    description='A flexible forms validation and rendering library for python web development.',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    packages=[
        'wtforms',
        'wtforms.fields',
        'wtforms.widgets',
        'wtforms.ext',
        'wtforms.ext.appengine',
        'wtforms.ext.csrf',
        'wtforms.ext.dateutil',
        'wtforms.ext.django',
        'wtforms.ext.django.templatetags',
        'wtforms.ext.sqlalchemy',
    ]
)
