forked from sqlalchemy-redshift/sqlalchemy-redshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (48 loc) · 1.99 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from setuptools import setup
readme = open("README.rst").read()
history = open("CHANGES.rst").read().replace(".. :changelog:", "")
setup(
name="sqlalchemy-redshift-no-spectrum",
version="0.8.12",
description="Fork of Amazon Redshift Dialect for sqlalchemy without Spectrum support",
long_description=readme + "\n\n" + history,
long_description_content_type="text/x-rst",
author="Matt George",
author_email="[email protected]",
maintainer="Beto Dealmeida",
maintainer_email="[email protected]",
license="MIT",
url="https://github.com/preset-io/sqlalchemy-redshift",
packages=["sqlalchemy_redshift", "redshift_sqlalchemy"],
package_data={"sqlalchemy_redshift": ["redshift-ca-bundle.crt"]},
python_requires=">=3.4",
install_requires=[
# requires sqlalchemy.sql.base.DialectKWArgs.dialect_options, new in
# version 0.9.2
"SQLAlchemy>=0.9.2,<2.0.0",
"packaging",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
entry_points={
"sqlalchemy.dialects": [
"redshift.nospectrum = sqlalchemy_redshift.dialect:RedshiftDialect_psycopg2",
# "redshift.psycopg2 = sqlalchemy_redshift.dialect:RedshiftDialect_psycopg2",
# "redshift.psycopg2cffi = sqlalchemy_redshift.dialect:RedshiftDialect_psycopg2cffi",
# "redshift.redshift_connector = sqlalchemy_redshift.dialect:RedshiftDialect_redshift_connector",
]
},
)