forked from daisyUniverse/TwitFix
/
pyproject.toml
47 lines (40 loc) · 1.16 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
[tool.poetry]
name = "twitfix"
version = "0.1.0"
description = ""
authors = ["stormydragon", "robinuniverse", "et. al"]
include = [
"static/*",
"templates/*",
]
[tool.poetry.scripts]
twitfix = "twitfix.wsgi:main"
[tool.poetry.dependencies]
python = "^3.8"
youtube_dl = "^2021.12.17"
twitter = "^1.19.3"
sanic = { version = "^22.3.2", extras = ["ext"] }
Jinja2 = "^3.1.2"
# Local server deployment optionals
pymongo = { version = "^4.0.2", optional=true }
uWSGI = { version = "^2.0.20", optional=true }
# GCP Deployment optionals
protobuf = { version = "3.20.1", optional = true } # Protocol buffers 4 breaks firestore
google-cloud-firestore = { version = "^2.5.0", optional = true }
google-cloud-storage = { version = "^2.2.1", optional = true }
google-cloud-logging = { version = "^3.1.1", optional = true }
httpx = "^0.23.0"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.extras]
deploy-here = ["pymongo", "uWSGI"]
deploy-compose = ["pymongo"]
deploy-gcp = [
"google-cloud-firestore",
"google-cloud-storage",
"google-cloud-logging",
"protobuf"
]