forked from KiraLT/certbot-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (58 loc) · 1.67 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tool.poetry]
name = "app"
version = "0.2.4"
description = ""
authors = ["KiraLT <[email protected]>"]
packages = [
{ include = "app" },
]
[tool.poetry.dependencies]
python = "~3.9"
certbot = "^1.29.0"
boto3 = "^1.24.41"
certbot-dns-route53 = "^1.29.0"
certbot-dns-cloudflare = "^1.29.0"
certbot-dns-cloudxns = "^1.29.0"
certbot-dns-digitalocean = "^1.29.0"
certbot-dns-dnsimple = "^1.29.0"
certbot-dns-dnsmadeeasy = "^1.29.0"
certbot-dns-gehirn = "^1.29.0"
certbot-dns-google = "^1.29.0"
certbot-dns-linode = "^1.29.0"
certbot-dns-luadns = "^1.29.0"
certbot-dns-nsone = "^1.29.0"
certbot-dns-ovh = "^1.29.0"
certbot-dns-rfc2136 = "^1.29.0"
certbot-dns-sakuracloud = "^1.29.0"
python-dotenv = "^0.20.0"
python-slugify = "^6.1.2"
[tool.poetry.dev-dependencies]
taskipy = "^1.10.2"
pex = "^2.1.102"
lambdex = "^0.1.6"
python-semantic-release = "^7.31.2"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
black = "^22.6.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
build = "rm -rf ./dist && task build-pex && task build-lambda"
build-pex = "pex . -o dist/certbot-lambda.zip"
build-lambda = "lambdex build -e app.handler:handler -M main.py dist/certbot-lambda.zip"
test = "pytest --cov=app --cov-report xml tests/"
dev = "python -c 'from app.handler import handler; handler(None, None)'"
prettify = "black ./app ./tests"
release = "semantic-release publish"
[tool.semantic_release]
version_variable = [
"app/__init__.py:__version__",
"pyproject.toml:version"
]
branch = "main"
hvcs = "github"
upload_to_pypi = false
upload_to_release = true
build_command = "poetry run task build"
commit_subject = "Release {version} [skip ci]"