sqlbase7-sa/setup.py

54 lines
1.7 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
################################################################################
#
# SQLBase7-SA -- SQLAlchemy driver/dialect for Centura SQLBase v7
# Copyright © 2010 Lance Edgar
#
# This file is part of SQLBase7-SA.
#
# SQLBase7-SA is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SQLBase7-SA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SQLBase7-SA. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
from setuptools import setup, find_packages
import os
execfile(os.path.join(os.path.dirname(__file__), 'sqlbase7_sa', '_version.py'))
setup(
name = 'SQLBase7-SA',
version = __version__,
description = 'SQLAlchemy driver/dialect for Centura SQLBase v7',
author = 'Lance Edgar',
author_email = 'lance@edbob.org',
packages = find_packages(),
install_requires = [
'SQLAlchemy>=0.5,<=0.6.99',
],
# This is only used by SQLAlchemy 0.6.
entry_points = {
'sqlalchemy.dialects' : [
'sqlbase7 = sqlbase7_sa:base.dialect',
],
},
test_suite = 'sqlbase7_sa.tests',
)