blob: a9315ea1de52fc866d4f11ed6b5ac8f0e0d1aec0 (
plain) (
blame)
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
|
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[packages]
flask = "==0.12.2"
rethinkdb = "*"
requests = "*"
gevent = "*"
"gevent-websocket" = "*"
wsaccel = "*"
ujson = "*"
schema = "*"
"flask_sockets" = "*"
"Flask-Dance" = "*"
"logmatic-python" = "*"
"Flask-WTF" = "*"
docutils = "*"
pygments = "*"
gunicorn = "*"
[dev-packages]
"flake8" = "*"
"flake8-bugbear" = "*"
"flake8-bandit" = "*"
"flake8-import-order" = "*"
"flake8-tidy-imports" = "*"
"flake8-string-format" = "*"
requests = "*"
"Flask-Testing" = "*"
pytest = "*"
pytest-cov = "*"
python-coveralls = "*"
[requires]
python_version = "3.6"
[scripts]
start = "gunicorn -w 12 -b 0.0.0.0:10012 -c gunicorn_config.py --log-level info -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker app:app"
lint = "python -m flake8"
test = "py.test app_test.py --cov pysite --cov-report term-missing -v"
clean = "rm -rf __pycache__ htmlcov .coverage .pytest_cache"
build = "docker build -t pythondiscord/site:latest -f docker/Dockerfile ."
push = "docker push pythondiscord/site:latest"
buildbase = "docker build -t pythondiscord/site-base:latest -f docker/Dockerfile.base ."
pushbase = "docker push pythondiscord/site-base:latest"
|