mirror of https://gerrit.hackerspace.pl/hscloud
28 lines
453 B
Python
28 lines
453 B
Python
py_library(
|
|
name = "app",
|
|
srcs = glob(["djtest/**/*.py"]),
|
|
deps = [
|
|
"@pydeps//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 = [
|
|
'@pip__uWSGI_2_0_18_cp36_cp36m_linux_x86_64//scripts:uwsgi',
|
|
],
|
|
)
|