-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (37 loc) · 1.3 KB
/
setup.py
File metadata and controls
42 lines (37 loc) · 1.3 KB
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
import os
import re
from setuptools import setup
v = open(os.path.join(os.path.dirname(__file__), 'sqlalchemy_bigquery', '__init__.py')) # NOQA
VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read()).group(1)
v.close()
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
setup(
name='sqlalchemy_bigquery',
version=VERSION,
description="BigQuery for SQLAlchemy",
long_description=open(readme).read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Database :: Front-Ends',
],
keywords='SQLAlchemy Google BigQuery',
author='Conrad Dean',
author_email='conrad.p.dean@gmail.com',
license='MIT',
packages=['sqlalchemy_bigquery'],
include_package_data=True,
install_requires=['SQLAlchemy==1.0.9'],
tests_require=['py.test'],
zip_safe=False,
entry_points={
'sqlalchemy.dialects': [
'bigquery = sqlalchemy_bigquery.pyodbc:BigQueryDialect_pyodbc',
'bigquery.pyodbc = sqlalchemy_bigquery.pyodbc:BigQueryDialect_pyodbc', # NOQA
]
}
)