Skip to content

Commit 410dcbf

Browse files
authored
Chore: remove setup.py in favor of pyproject.toml for custom materializations example (#4514)
1 parent ebf8f47 commit 410dcbf

2 files changed

Lines changed: 13 additions & 15 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
[build-system]
22
requires = ["setuptools >= 61.0", "setuptools_scm"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "custom_materializations"
7+
requires-python = ">=3.9"
8+
version = "0.1.0"
9+
dependencies = ["sqlmesh"]
10+
11+
[project.entry-points."sqlmesh.materializations"]
12+
custom_full_materialization = "custom_materializations.full:CustomFullMaterialization"
13+
custom_full_with_custom_kind = "custom_materializations.custom_kind:CustomFullWithCustomKindMaterialization"
14+
15+
[tool.setuptools.packages.find]
16+
include = ["custom_materializations"]

examples/custom_materializations/setup.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)