Merging upstream version 26.10.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f2e3d707cd
commit
273cfbc19c
66 changed files with 79349 additions and 76628 deletions
32
setup.py
32
setup.py
|
@ -1,4 +1,4 @@
|
|||
from setuptools import find_packages, setup
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
def sqlglotrs_version():
|
||||
|
@ -9,24 +9,11 @@ def sqlglotrs_version():
|
|||
raise ValueError("Could not find version in Cargo.toml")
|
||||
|
||||
|
||||
# Everything is defined in pyproject.toml except the extras because for the [rs] extra we need to dynamically
|
||||
# read the sqlglotrs version. [dev] has to be specified here as well because you cant specify some extras groups
|
||||
# dynamically and others statically, it has to be either all dynamic or all static
|
||||
# ref: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
|
||||
setup(
|
||||
name="sqlglot",
|
||||
description="An easily customizable SQL parser and transpiler",
|
||||
long_description=open("README.md").read(),
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/tobymao/sqlglot",
|
||||
author="Toby Mao",
|
||||
author_email="toby.mao@gmail.com",
|
||||
license="MIT",
|
||||
packages=find_packages(include=["sqlglot", "sqlglot.*"]),
|
||||
package_data={"sqlglot": ["py.typed"]},
|
||||
use_scm_version={
|
||||
"write_to": "sqlglot/_version.py",
|
||||
"fallback_version": "0.0.0",
|
||||
"local_scheme": "no-local-version",
|
||||
},
|
||||
setup_requires=["setuptools_scm"],
|
||||
python_requires=">=3.7",
|
||||
extras_require={
|
||||
"dev": [
|
||||
"duckdb>=0.6",
|
||||
|
@ -45,13 +32,4 @@ setup(
|
|||
],
|
||||
"rs": [f"sqlglotrs=={sqlglotrs_version()}"],
|
||||
},
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Science/Research",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: SQL",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue