py_library( | |
name = "app", | |
srcs = glob(["djtest/**/*.py"]), | |
deps = [ | |
"@pip36//django", | |
], | |
) | |
py_binary( | |
name = "manage", | |
srcs = ["manage.py"], | |
deps = [ | |
":app", | |
], | |
) | |
py_binary( | |
name = "uwsgi-start", | |
srcs = ["uwsgi-start.py"], | |
deps = [ | |
":app", | |
"@bazel_tools//tools/python/runfiles", | |
], | |
data = [ | |
'@pip36//uwsgi/scripts:uwsgi', | |
], | |
) |