-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
58 lines (53 loc) · 1.57 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
from pathlib import Path
from setuptools import find_packages, setup
NAME = "sqlalchemy-kusto"
DESCRIPTION = "Azure Data Explorer (Kusto) dialect for SQLAlchemy"
VERSION = "3.0.0"
REQUIREMENTS = [
"azure-kusto-data==4.*",
"sqlalchemy==1.4.*",
"typing-extensions>=3.10",
]
EXTRAS = {
"dev": [
"black>=24.10.0",
"mypy>=1.14.1",
"pytest>=8.3.4",
"python-dotenv>=1.0.1",
"ruff>=0.8.6",
]
}
path = Path("README.md")
with path.open(encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
setup(
author="Dodo Engineering",
author_email="[email protected]",
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
],
description=DESCRIPTION,
entry_points={
"sqlalchemy.dialects": [
"kustosql.https = sqlalchemy_kusto.dialect_sql:KustoSqlHttpsDialect",
"kustokql.https = sqlalchemy_kusto.dialect_kql:KustoKqlHttpsDialect",
]
},
extras_require=EXTRAS,
include_package_data=True,
install_requires=REQUIREMENTS,
license="Apache License, Version 2.0",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
name=NAME,
url="https://github.com/dodopizza/sqlalchemy-kusto",
packages=find_packages(exclude=["tests", "tests.*"]),
project_urls={
"Bug Tracker": "https://github.com/dodopizza/sqlalchemy-kusto/issues",
},
python_requires=">=3.10",
version=VERSION,
zip_safe=False,
)