This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
46 lines (43 loc) · 1.67 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
from setuptools import setup, find_packages
import multiprocessing
import sys, os
version = '1.2.0'
setup(name='formbar',
version=version,
description="Python library to layout, render and validate HTML forms in web applications",
long_description=open('README.rst').read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Programming Language :: Python :: 2.7'],
keywords='form configuration layout rendering serialisation validation rules conditionals html',
author='Torsten Irl\xc3\xa4nder',
author_email='[email protected]',
url='https://github.com/ringo-framework/formbar',
license='GNU General Public License v2 or later (GPLv2+)',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=['brabbel>=0.2.6',
'sqlalchemy',
'babel',
'python-dateutil',
'mako',
'webhelpers'
],
# Used for the example server
tests_require=["nose"],
extras_require={'examples': ["pyramid"]},
setup_requires=[],
entry_points="""
# -*- Entry points: -*-
[babel.extractors]
formconfig = formbar.i18n:extract_i18n_formconfig
""",
message_extractors = {'formbar': [
('**.py', 'python', None),
('templates/**.mako', 'mako', None),
('**.xml', 'formconfig', None)]},
test_suite='nose.collector',
)