Skip to content

Commit

Permalink
feat: use hatch as a build system
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfountain1996 committed Nov 1, 2023
1 parent db9cd99 commit 12365c8
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "sqlalchemy_window"
description = "A SQLAlchemy plugin to add support for PostgreSQL WINDOW clause"
readme = "README.md"
license = {text = "MIT"}
authors = [{name = "Roman Necheporenko", email = "[email protected]"}]
requires-python = ">=3.7"
dependencies = ["sqlalchemy>=2.0"]
dynamic = ["version"]
license = "MIT"
requires-python = ">=3.8"
authors = [{ name = "Roman Necheporenko", email = "[email protected]" }]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = ["sqlalchemy>=2.0"]
dynamic = ["version"]

[project.urls]
Repository = "https://github.com/waterfountain1996/sqlalchemy-window"

[tool.hatch.version]
path = "src/sqlalchemy_window/__init__.py"

[tool.setuptools.dynamic]
version = {attr = "sqlalchemy_window.__version__"}
[tool.hatch.build]
include = ["src/sqlalchemy_window"]
exclude = ["tests"]

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down

0 comments on commit 12365c8

Please sign in to comment.