We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30cbaf9 commit 7bcad5cCopy full SHA for 7bcad5c
1 file changed
setup.py
@@ -1,4 +1,7 @@
1
from setuptools import setup
2
+from setuptools_scm import get_version
3
+
4
+version = get_version(local_scheme="no-local-version")
5
6
setup(
7
extras_require={
@@ -19,8 +22,8 @@
19
22
"pyperf",
20
23
],
21
24
# Compiles from source on the user's machine.
- "c": ["sqlglotc"],
25
+ "c": [f"sqlglotc=={version}"],
26
# Deprecated: the Rust tokenizer has been replaced by sqlglotc.
- "rs": ["sqlglotrs==0.13.0", "sqlglotc"],
27
+ "rs": ["sqlglotrs==0.13.0", f"sqlglotc=={version}"],
28
},
29
)
0 commit comments