Compare commits

..

2 commits

Author SHA1 Message Date
b4c4d1bb26 use unix line endings for setup.py 2025-10-06 14:11:42 -05:00
dafac32f94 update home page URL for project 2025-10-06 14:11:01 -05:00

172
setup.py
View file

@ -1,86 +1,86 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
################################################################################ ################################################################################
# #
# SQLBase7-SA -- SQLAlchemy driver/dialect for Centura SQLBase v7 # SQLBase7-SA -- SQLAlchemy driver/dialect for Centura SQLBase v7
# Copyright © 2010 Lance Edgar # Copyright © 2010 Lance Edgar
# #
# This file is part of SQLBase7-SA. # This file is part of SQLBase7-SA.
# #
# SQLBase7-SA is free software: you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# SQLBase7-SA is distributed in the hope that it will be useful, # SQLBase7-SA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with SQLBase7-SA. If not, see <http://www.gnu.org/licenses/>. # along with SQLBase7-SA. If not, see <http://www.gnu.org/licenses/>.
# #
################################################################################ ################################################################################
from setuptools import setup, find_packages from setuptools import setup, find_packages
import os import os
execfile(os.path.join(os.path.dirname(__file__), 'sqlbase7_sa', '_version.py')) execfile(os.path.join(os.path.dirname(__file__), 'sqlbase7_sa', '_version.py'))
setup( setup(
name = 'SQLBase7-SA', name = 'SQLBase7-SA',
version = __version__, version = __version__,
author = 'Lance Edgar', author = 'Lance Edgar',
author_email = 'lance@edbob.org', author_email = 'lance@edbob.org',
url = "http://sqlbase7-sa.edbob.org/", url = "https://forgejo.wuttaproject.org/rattail/sqlbase7-sa",
license = "GNU GPL v3", license = "GNU GPL v3",
description = 'SQLAlchemy dialect for Centura SQLBase v7', description = 'SQLAlchemy dialect for Centura SQLBase v7',
long_description = """ long_description = """
SQLBase7-SA - SQLAlchemy dialect for Centura SQLBase v7 SQLBase7-SA - SQLAlchemy dialect for Centura SQLBase v7
------------------------------------------------------- -------------------------------------------------------
This package provides a (possibly rudimentary) implementation This package provides a (possibly rudimentary) implementation
of a SQLAlchemy dialect for the Centura SQLBase database of a SQLAlchemy dialect for the Centura SQLBase database
engine. It is only intended (and known) to work with a very engine. It is only intended (and known) to work with a very
specific version of this database, that version being 7.5.1. specific version of this database, that version being 7.5.1.
""", """,
classifiers = [ classifiers = [
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
'Environment :: Plugins', 'Environment :: Plugins',
'Environment :: Win32 (MS Windows)', 'Environment :: Win32 (MS Windows)',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)', 'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English', 'Natural Language :: English',
'Operating System :: Microsoft :: Windows', 'Operating System :: Microsoft :: Windows',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.6',
'Topic :: Database', 'Topic :: Database',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
], ],
packages = find_packages(), packages = find_packages(),
install_requires = [ install_requires = [
'SQLAlchemy>0.5.2', 'SQLAlchemy>0.5.2',
], ],
entry_points = { entry_points = {
# SQLAlchemy 0.5 # SQLAlchemy 0.5
'sqlalchemy.databases' : [ 'sqlalchemy.databases' : [
'sqlbase7 = sqlbase7_sa.sqlbase7_sa05:SQLBase7Dialect_SA05', 'sqlbase7 = sqlbase7_sa.sqlbase7_sa05:SQLBase7Dialect_SA05',
], ],
# SQLAlchemy 0.6 # SQLAlchemy 0.6
'sqlalchemy.dialects' : [ 'sqlalchemy.dialects' : [
'sqlbase7 = sqlbase7_sa.sqlbase7_sa06:SQLBase7Dialect_SA06_pyodbc', 'sqlbase7 = sqlbase7_sa.sqlbase7_sa06:SQLBase7Dialect_SA06_pyodbc',
], ],
}, },
test_suite = 'sqlbase7_sa.tests', test_suite = 'sqlbase7_sa.tests',
) )