-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
49 lines (45 loc) · 1.46 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
import os.path as osp
from setuptools import setup, find_packages
cdir = osp.abspath(osp.dirname(__file__))
README = open(osp.join(cdir, 'readme.rst')).read()
CHANGELOG = open(osp.join(cdir, 'changelog.rst')).read()
version_fpath = osp.join(cdir, 'sqlalchemy_pyodbc_mssql', 'version.py')
version_globals = {}
with open(version_fpath) as fo:
exec(fo.read(), version_globals)
setup(
name='sqlalchemy_pyodbc_mssql',
version=version_globals['VERSION'],
description='SA dialect for MSSQL using PyODBC which handles MSSQL-specific limitations',
long_description='\n\n'.join((README, CHANGELOG)),
author='Matt Lewellyn',
author_email='matt.lewellyn@level12.io',
url='https://github.com/level12/sqlalchemy_pyodbc_mssql',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
],
packages=find_packages(exclude=[]),
include_package_data=True,
zip_safe=False,
install_requires=[
'pyodbc',
'sqlalchemy >= 1.3.3',
],
extras_require={
'test': [
'blazeform',
'flake8',
'pytest',
'pytest-cov',
'tox',
],
},
entry_points="""
[sqlalchemy.dialects]
mssql.pyodbc_mssql = sqlalchemy_pyodbc_mssql.dialect:MssqlDialect_pyodbc_quoted
""",
)