Sergiusz Bazanski | 902d860 | 2019-07-18 17:05:26 +0200 | [diff] [blame] | 1 | py_library( |
2 | name = "app", | ||||
3 | srcs = glob(["djtest/**/*.py"]), | ||||
4 | deps = [ | ||||
5 | "@pip36//django", | ||||
6 | ], | ||||
7 | ) | ||||
8 | |||||
9 | py_binary( | ||||
10 | name = "manage", | ||||
11 | srcs = ["manage.py"], | ||||
12 | deps = [ | ||||
13 | ":app", | ||||
14 | ], | ||||
15 | ) | ||||
16 | |||||
17 | py_binary( | ||||
18 | name = "uwsgi-start", | ||||
19 | srcs = ["uwsgi-start.py"], | ||||
20 | deps = [ | ||||
21 | ":app", | ||||
22 | "@bazel_tools//tools/python/runfiles", | ||||
23 | ], | ||||
24 | data = [ | ||||
25 | '@pip36//uwsgi/scripts:uwsgi', | ||||
26 | ], | ||||
27 | ) |