diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-04-17 20:49:35 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-04-17 20:49:35 +0000 |
| commit | aabb6e530b05bee9cc5c2382a308a987abd6168e (patch) | |
| tree | cd937947baf100d75e679e2f6d40e3a287ffc196 /setup.py | |
| parent | 8d7a271b8687dbcb58cac713f9e16e445d242881 (diff) | |
| download | sqlalchemy-aabb6e530b05bee9cc5c2382a308a987abd6168e.tar.gz | |
- the dialects within sqlalchemy.databases become a setuptools
entry points. loading the built-in database dialects works the
same as always, but if none found will fall back to trying
pkg_resources to load an external module [ticket:521]
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ setup(name = "SQLAlchemy", url = "http://www.sqlalchemy.org", packages = find_packages('lib'), package_dir = {'':'lib'}, + entry_points = { + 'sqlalchemy.databases': [ + '%s = sqlalchemy.databases.%s:dialect' % (f,f) for f in + ['sqlite', 'postgres', 'mysql', 'oracle', 'mssql', 'firebird']]}, license = "MIT License", long_description = """\ SQLAlchemy is: |
