root / elixir / trunk / setup.py

Revision 523, 1.8 kB (checked in by ged, 17 months ago)

apply patch from "foogod" to add "out-of-the-box" support for python 3.x by
running 2to3 within setup

Line 
1from setuptools import setup, find_packages
2import sys
3
4extra = {}
5if sys.version_info >= (3,):
6    extra['use_2to3'] = True
7
8setup(name="Elixir",
9      version="0.8.0",
10      description="Declarative Mapper for SQLAlchemy",
11      long_description="""
12Elixir
13======
14
15A declarative layer on top of SQLAlchemy. It is a fairly thin wrapper, which
16provides the ability to create simple Python classes that map directly to
17relational database tables (this pattern is often referred to as the Active
18Record design pattern), providing many of the benefits of traditional
19databases without losing the convenience of Python objects.
20
21Elixir is intended to replace the ActiveMapper SQLAlchemy extension, and the
22TurboEntity project but does not intend to replace SQLAlchemy's core features,
23and instead focuses on providing a simpler syntax for defining model objects
24when you do not need the full expressiveness of SQLAlchemy's manual mapper
25definitions.
26
27SVN version: <http://elixir.ematia.de/svn/elixir/trunk#egg=Elixir-dev>
28""",
29      author="Gaetan de Menten, Daniel Haus and Jonathan LaCour",
30      author_email="sqlelixir@googlegroups.com",
31      maintainer="Gaetan de Menten",
32      maintainer_email="gdementen@gmail.com",
33      url="http://elixir.ematia.de",
34      license = "MIT License",
35      install_requires = [
36          "SQLAlchemy >= 0.5.0"
37      ],
38      packages=find_packages(exclude=['ez_setup', 'tests', 'examples']),
39      classifiers=[
40          "Development Status :: 5 - Production/Stable",
41          "Intended Audience :: Developers",
42          "License :: OSI Approved :: MIT License",
43          "Operating System :: OS Independent",
44          "Programming Language :: Python",
45          "Topic :: Database :: Front-Ends",
46          "Topic :: Software Development :: Libraries :: Python Modules"
47      ],
48      test_suite = 'nose.collector',
49      **extra)
Note: See TracBrowser for help on using the browser.