blob: 8e82b258ff588b06b3113fd99011b90ae51ad58b [file] [log] [blame]
load("@pydeps//:requirements.bzl", "requirement")
py_library(
name = "app",
srcs = glob(["djtest/**/*.py"]),
deps = [
requirement("django"),
requirement("pytz"),
requirement("sqlparse"),
],
)
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",
requirement("uwsgi"),
requirement("pyelftools"),
],
)