| 1 | from setuptools import setup, find_packages |
|---|
| 2 | import sys |
|---|
| 3 | |
|---|
| 4 | extra = {} |
|---|
| 5 | if sys.version_info >= (3,): |
|---|
| 6 | extra['use_2to3'] = True |
|---|
| 7 | |
|---|
| 8 | setup(name="Elixir", |
|---|
| 9 | version="0.8.0", |
|---|
| 10 | description="Declarative Mapper for SQLAlchemy", |
|---|
| 11 | long_description=""" |
|---|
| 12 | Elixir |
|---|
| 13 | ====== |
|---|
| 14 | |
|---|
| 15 | A declarative layer on top of SQLAlchemy. It is a fairly thin wrapper, which |
|---|
| 16 | provides the ability to create simple Python classes that map directly to |
|---|
| 17 | relational database tables (this pattern is often referred to as the Active |
|---|
| 18 | Record design pattern), providing many of the benefits of traditional |
|---|
| 19 | databases without losing the convenience of Python objects. |
|---|
| 20 | |
|---|
| 21 | Elixir is intended to replace the ActiveMapper SQLAlchemy extension, and the |
|---|
| 22 | TurboEntity project but does not intend to replace SQLAlchemy's core features, |
|---|
| 23 | and instead focuses on providing a simpler syntax for defining model objects |
|---|
| 24 | when you do not need the full expressiveness of SQLAlchemy's manual mapper |
|---|
| 25 | definitions. |
|---|
| 26 | |
|---|
| 27 | SVN 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) |
|---|