forked from gordthompson/sqlalchemy-access
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (44 loc) · 1.62 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
import re
from setuptools import setup, find_packages
v = open(
os.path.join(os.path.dirname(__file__), "sqlalchemy_access", "__init__.py")
)
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-access",
version=VERSION,
description="MS Access for SQLAlchemy",
long_description=open(readme).read(),
url="https://github.com/gordthompson/sqlalchemy-access",
author="Gord Thompson",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Database :: Front-Ends",
"Operating System :: OS Independent",
],
keywords="SQLAlchemy Microsoft Access",
project_urls={
"Documentation": "https://github.com/gordthompson/sqlalchemy-access/wiki",
"Source": "https://github.com/gordthompson/sqlalchemy-access",
"Tracker": "https://github.com/gordthompson/sqlalchemy-access/issues",
},
packages=find_packages(include=["sqlalchemy_access"]),
include_package_data=True,
install_requires=["SQLAlchemy", "pyodbc>=4.0.27", "pywin32"],
zip_safe=False,
entry_points={
"sqlalchemy.dialects": [
"access.pyodbc = sqlalchemy_access.pyodbc:AccessDialect_pyodbc",
]
},
)