-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
60 lines (54 loc) · 2.03 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
51
52
53
54
55
56
57
58
59
60
import os
from setuptools import setup, find_packages
source_location = os.path.abspath(os.path.dirname(__file__))
def get_version():
with open(os.path.join(source_location, "VERSION")) as version:
return version.readline().strip()
def get_readme():
with open(os.path.join(source_location, "README.md")) as readme:
return readme.read()
setup(
name="sqlalchemy-greenplum",
version=get_version(),
license="Apache License 2.0",
url="https://github.com/PlaidCloud/sqlalchemy-greenplum",
author="Patrick Buxton",
author_email="[email protected]",
description="SQLAlchemy dialect for Greenplum Database",
long_description=get_readme(),
long_description_content_type="text/markdown",
packages=find_packages(),
zip_safe=False,
install_requires=[
"sqlalchemy>=1.4.0,<3", "psycopg2-binary"
],
extras_require={
},
setup_requires=["pytest-runner"],
tests_require=["pytest", "mock"],
test_suite="test.test_suite",
classifiers=[ # cf. http://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: SQL",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
"sqlalchemy.dialects": [
"greenplum = sqlalchemy_greenplum.dialect:GreenplumDialect",
"greenplum.psycopg2 = sqlalchemy_greenplum.dialect:GreenplumDialect"
]
},
)