Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 78 lines (73 sloc) 2.368 kb
896625a @ralphbean Travis!
ralphbean authored
1 import sys
e9c13a5 Initial import
paj authored
2 from setuptools import setup, find_packages
3
2534953 @ralphbean Test enhancements.
ralphbean authored
4 # Required imports to avoid weird error messages in python2.7
a593d9a @ralphbean A little more careful with the imports.
ralphbean authored
5 try:
6 import multiprocessing, logging
7 except Exception:
8 pass
2534953 @ralphbean Test enhancements.
ralphbean authored
9
ed87af6 @ralphbean Added template extras and test requirements
ralphbean authored
10 # Requirements to install buffet plugins and engines
11 _extra_cheetah = ["Cheetah>=1.0", "TurboCheetah>=0.9.5"]
12 _extra_genshi = ["Genshi >= 0.3.5"]
13 _extra_kid = ["kid>=0.9.5", "TurboKid>=0.9.9"]
14 _extra_mako = ["Mako >= 0.1.1"]
15
896625a @ralphbean Travis!
ralphbean authored
16 requires = [
17 "tw2.forms>=2.0b4",
18 "tw2.dynforms",
19 "sqlalchemy >= 0.7",
20 "zope.sqlalchemy >= 0.4",
21 ]
22
e9c13a5 Initial import
paj authored
23 setup(
24 name='tw2.sqla',
077cad1 @ralphbean 2.1.0
ralphbean authored
25 version='2.1.0',
382a27e @moschlar Metadata fixups, tw2.core#90
moschlar authored
26 description='SQLAlchemy database layer for ToscaWidgets 2, a web widget toolkit.',
e86929a @ralphbean Moved docs/index.rst to README.rst. Relates to #3.
ralphbean authored
27 long_description=open('README.rst').read().split('.. split here', 1)[1],
e9c13a5 Initial import
paj authored
28 author='Paul Johnston',
29 author_email='paj@pajhome.org.uk',
4f9e0f4 @ralphbean Changed links to the new repo.
ralphbean authored
30 url='http://github.com/toscawidgets/tw2.sqla',
382a27e @moschlar Metadata fixups, tw2.core#90
moschlar authored
31 download_url="https://pypi.python.org/pypi/tw2.sqla/",
a415c95 @ralphbean Version bump to include LICENSE.
ralphbean authored
32 license='MIT',
896625a @ralphbean Travis!
ralphbean authored
33 install_requires=requires,
e9c13a5 Initial import
paj authored
34 packages=find_packages(exclude=['ez_setup', 'tests']),
35 namespace_packages = ['tw2'],
36 zip_safe=False,
37 include_package_data=True,
38 test_suite = 'nose.collector',
a280436 @ralphbean Require newer tw2.core for tests to pass. Fixes #1.
ralphbean authored
39 tests_require = [
40 'BeautifulSoup',
41 'strainer',
42 'nose',
43 'FormEncode',
44 'WebTest',
45 'tw2.core>=2.0.1',
46 'tw2.forms',
47 'elixir',
89d0b44 @ralphbean Require the latest sieve.
ralphbean authored
48 'sieve>=0.1.9',
a280436 @ralphbean Require newer tw2.core for tests to pass. Fixes #1.
ralphbean authored
49 ] + _extra_cheetah + _extra_genshi + _extra_kid + _extra_mako,
ed87af6 @ralphbean Added template extras and test requirements
ralphbean authored
50 extras_require = {
51 'cheetah': _extra_cheetah,
52 'kid': _extra_kid,
53 'genshi': _extra_genshi,
54 'mako': _extra_mako,
55 },
73f8735 @ralphbean s/entry_point/entry_points/... Thanks @janis_!
ralphbean authored
56 entry_points="""
e9c13a5 Initial import
paj authored
57 [tw2.widgets]
58 # Register your widgets so they can be listed in the WidgetBrowser
59 widgets = tw2.sqla
60 """,
61 keywords = [
62 'toscawidgets.widgets',
63 ],
64 classifiers = [
65 'Development Status :: 3 - Alpha',
66 'Environment :: Web Environment',
67 'Environment :: Web Environment :: ToscaWidgets',
68 'Topic :: Software Development :: Libraries :: Python Modules',
69 'Topic :: Software Development :: Widget Sets',
70 'Intended Audience :: Developers',
71 'Operating System :: OS Independent',
72 'Programming Language :: Python',
0faa0c6 @ralphbean 2.0.4. Drop support for py2.5 in tw2.sqla.
ralphbean authored
73 'Programming Language :: Python :: 2',
74 'Programming Language :: Python :: 2.6',
75 'Programming Language :: Python :: 2.7',
e9c13a5 Initial import
paj authored
76 ],
77 )
Something went wrong with that request. Please try again.