Skip to content

Commit

Permalink
chore: Use Poetry support for PEP 621
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed May 3, 2024
1 parent 77b0f87 commit 818c616
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip==24.0
poetry==1.8.2
poetry @ git+https://github.com/radoering/poetry.git@pep621-support
poetry-dynamic-versioning==1.3.0
nox==2024.4.15
nox-poetry==1.0.3
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 28 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,37 +1,48 @@
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = [
"poetry-core==1.9",
"poetry-core@ git+https://github.com/radoering/poetry-core.git@pep621-support",
"poetry-dynamic-versioning",
]

[tool.poetry]
[project]
name = "tap-betterstack"
version = "0.0.0"
description = "`tap-betterstack` is a Singer tap for Better Stack, built with the Meltano SDK for Singer Taps."
authors = ["Edgar Ramírez-Mondragón <[email protected]>"]
readme = "README.md"
keywords = [
"Better Stack",
"ELT",
"singer.io",
"Better Stack",
]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/edgarrmondragon/tap-betterstack"
repository = "https://github.com/edgarrmondragon/tap-betterstack"
documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme"
license.file = "Apache-2.0"
authors = [{ name = "Edgar Ramírez-Mondragón", email = "[email protected]" }]
requires-python = ">=3.8"
classifiers = [
"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",
]
dynamic = [
"version",
]
dependencies = [
"singer-sdk~=0.37.0",
]
urls.Documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme"
urls.Homepage = "https://github.com/edgarrmondragon/tap-betterstack"
urls.Repository = "https://github.com/edgarrmondragon/tap-betterstack"
scripts."tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli"

[tool.poetry.dependencies]
python = ">=3.8"
singer-sdk = "~=0.37.0"
[tool.poetry]
name = "tap-betterstack"
version = "0.0.0"

[tool.poetry.group.dev.dependencies]
singer-sdk = {version = "*", extras = ["testing"]}

[tool.poetry.scripts]
# CLI declaration
"tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli"

[tool.poetry-dynamic-versioning]
enable = true
format-jinja = """
Expand Down

0 comments on commit 818c616

Please sign in to comment.