63 lines
2.0 KiB
TOML
63 lines
2.0 KiB
TOML
[build-system]
|
||
requires = ["poetry-core"]
|
||
build-backend = "poetry.core.masonry.api"
|
||
|
||
[tool.poetry]
|
||
name = "evercatch"
|
||
version = "0.0.1"
|
||
description = "Official Python SDK for Evercatch webhook infrastructure platform."
|
||
authors = ["Evercatch <support@evercatch.dev>"]
|
||
license = "MIT"
|
||
readme = "README.md"
|
||
repository = "https://git.psmattas.com/evercatch/evercatch-python"
|
||
keywords = ["evercatch", "sdk", "api", "webhooks"]
|
||
|
||
# These classifiers are important for PyPI to categorize your package correctly
|
||
classifiers = [
|
||
"Development Status :: 1 - Planning",
|
||
"Intended Audience :: Developers",
|
||
"License :: OSI Approved :: MIT License",
|
||
"Programming Language :: Python :: 3",
|
||
"Programming Language :: Python :: 3.12",
|
||
]
|
||
|
||
# This tells Poetry that your package code is in the 'evercatch' folder
|
||
packages = [{ include = "evercatch" }]
|
||
|
||
[tool.poetry.dependencies]
|
||
python = "^3.12"
|
||
|
||
[tool.poetry.group.dev.dependencies]
|
||
twine = ">=4.0"
|
||
poethepoet = ">=0.24"
|
||
|
||
# ---------------------------------------------------------------------------
|
||
# Task runner (poethepoet)
|
||
# Usage:
|
||
# poetry run poe build – build sdist + wheel into dist/
|
||
# poetry run poe publish-gitea – upload dist/* to the Gitea registry
|
||
# poetry run poe release – build then publish (one shot)
|
||
#
|
||
# Before running publish-gitea, make sure ~/.pypirc contains:
|
||
#
|
||
# [distutils]
|
||
# index-servers = gitea
|
||
#
|
||
# [gitea]
|
||
# repository = https://git.psmattas.com/api/packages/Evercatch/pypi
|
||
# username = <your-gitea-username>
|
||
# password = <your-gitea-password-or-token>
|
||
# ---------------------------------------------------------------------------
|
||
|
||
[tool.poe.tasks.build]
|
||
cmd = "poetry build"
|
||
help = "Build sdist and wheel into dist/"
|
||
|
||
[tool.poe.tasks.publish-gitea]
|
||
cmd = "python -m twine upload --repository gitea dist/*"
|
||
help = "Upload dist/* to the Gitea package registry"
|
||
|
||
[tool.poe.tasks.release]
|
||
sequence = [{ref = "build"}, {ref = "publish-gitea"}]
|
||
help = "Build and publish to Gitea in one step"
|