1
0
Fork 0

Adding upstream version 20.3.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 21:17:33 +01:00
parent 5bd573dda1
commit fd9de5e4cb
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
132 changed files with 55125 additions and 51576 deletions

View file

@ -1,5 +1,14 @@
from setuptools import find_packages, setup
def sqlglotrs_version():
with open("sqlglotrs/Cargo.toml") as fd:
for line in fd.readlines():
if line.strip().startswith("version"):
return line.split("=")[1].strip().strip('"')
raise ValueError("Could not find version in Cargo.toml")
setup(
name="sqlglot",
description="An easily customizable SQL parser and transpiler",
@ -31,7 +40,9 @@ setup(
"pdoc",
"pre-commit",
"types-python-dateutil",
"maturin>=1.4,<2.0",
],
"rs": [f"sqlglotrs=={sqlglotrs_version()}"],
},
classifiers=[
"Development Status :: 5 - Production/Stable",