-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1058245-sqlalchemy-20-support: update VERSION syntax and add pyp…
…roject.toml
- Loading branch information
1 parent
6827249
commit a984ae4
Showing
4 changed files
with
86 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "snowflake-sqlalchemy" | ||
dynamic = ["version"] | ||
description = "Snowflake SQLAlchemy Dialect" | ||
readme = "README.md" | ||
license = "Apache-2.0" | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "Snowflake Inc.", email = "[email protected]" }, | ||
] | ||
keywords = ["Snowflake", "analytics", "cloud", "database", "db", "warehouse"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Environment :: Other Environment", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: SQL", | ||
"Topic :: Database", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Software Development :: Libraries :: Application Frameworks", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
# "importlib-metadata;python_version<\"3.8\"", | ||
"snowflake-connector-python", | ||
# "sqlalchemy>=2.0.0", | ||
"sqlalchemy<2.0.0", | ||
] | ||
|
||
[project.optional-dependencies] | ||
development = [ | ||
"mock", | ||
"numpy", | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-rerunfailures", | ||
"pytest-timeout", | ||
"pytz", | ||
] | ||
pandas = ["snowflake-connector-python[pandas]"] | ||
|
||
[project.entry-points."sqlalchemy.dialects"] | ||
snowflake = "snowflake.sqlalchemy:dialect" | ||
|
||
[project.urls] | ||
Changelog = "https://github.com/snowflakedb/snowflake-sqlalchemy/blob/main/DESCRIPTION.md" | ||
Documentation = "https://docs.snowflake.com/en/user-guide/sqlalchemy.html" | ||
Homepage = "https://www.snowflake.com/" | ||
Issues = "https://github.com/snowflakedb/snowflake-sqlalchemy/issues" | ||
Source = "https://github.com/snowflakedb/snowflake-sqlalchemy" | ||
|
||
[tool.hatch.version] | ||
path = "src/snowflake/sqlalchemy/version.py" | ||
|
||
[tool.hatch.envs.local] | ||
features = ["development", "pandas"] | ||
python = "3.8" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
exclude = ["/.github"] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/snowflake"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters