mirror of
https://github.com/wassname/wtforms-parsleyjs.git
synced 2026-06-27 18:27:26 +08:00
updates README with installation info
various small improvements
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
"""
|
||||
# WTForms-ParsleyJS
|
||||
|
||||
This is a small library which you can hook into your WTForms form classes in order to
|
||||
enable client side validation.
|
||||
|
||||
WTForms allows you to validate your forms on the server side. Ideally, we could reuse
|
||||
these validators on the client side with JavaScript without writing any extra code. This
|
||||
will allow for more direct user feedback in our forms.
|
||||
|
||||
This library uses ParsleyJS for this task. ParsleyJS is a popular client side
|
||||
JavaScript validation library. It is configured using specific HTML markup in the forms.
|
||||
|
||||
This library will generate these tags from your WTForms validators.
|
||||
|
||||
For more information consult the README.md in the Github repository at
|
||||
https://github.com/johannes-gehrs/wtforms-parsleyjs
|
||||
|
||||
"""
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='WTForms-ParsleyJS',
|
||||
version='0.1',
|
||||
url='https://github.com/johannes-gehrs/wtforms-parsleyjs',
|
||||
license='MIT',
|
||||
author='Johannes Gehrs',
|
||||
author_email='jgehrs@gmail.com',
|
||||
description='Generate client side, parsley.js validation tags automatically '
|
||||
'from WTForms server side validators.',
|
||||
long_description=__doc__,
|
||||
py_modules = ['run_sample'],
|
||||
packages=['wtformsparsleyjs', 'wtformsparsleyjs.sample'],
|
||||
platforms='any',
|
||||
install_requires=[
|
||||
'WTForms>=1.0.4'
|
||||
],
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Environment :: Web Environment',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules'
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user