forked from tobymao/sqlglot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (27 loc) · 794 Bytes
/
setup.py
File metadata and controls
29 lines (27 loc) · 794 Bytes
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
from setuptools import setup
from setuptools_scm import get_version
version = get_version(local_scheme="no-local-version")
setup(
extras_require={
"dev": [
"duckdb>=0.6",
"sqlglot-mypy",
"setuptools_scm",
"pandas",
"pandas-stubs",
"python-dateutil",
"pytz",
"pdoc",
"pre-commit",
"ruff==0.15.6",
"types-python-dateutil",
"types-pytz",
"typing_extensions",
"pyperf",
],
# Compiles from source on the user's machine.
"c": [f"sqlglotc=={version}"],
# Deprecated: the Rust tokenizer has been replaced by sqlglotc.
"rs": ["sqlglotrs==0.13.0", f"sqlglotc=={version}"],
},
)