[NO TESTS] WIP
This commit is contained in:
parent
928a3a5f84
commit
0b5912174a
3 changed files with 17 additions and 18 deletions
|
@ -14,7 +14,8 @@ exports_files([
|
|||
|
||||
py_runtime(
|
||||
name = "python_runtime",
|
||||
interpreter_path = "/usr/bin/python3",
|
||||
files = [],
|
||||
interpreter_path = "/usr/bin/python3.9",
|
||||
python_version = "PY3",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -3,6 +3,8 @@ load("@arrdem_source_pypi//:requirements.bzl",
|
|||
)
|
||||
|
||||
load("@rules_python//python:defs.bzl",
|
||||
"py_runtime",
|
||||
"py_runtime_pair",
|
||||
_py_binary = "py_binary",
|
||||
_py_test = "py_test",
|
||||
_py_library = "py_library",
|
||||
|
@ -210,9 +212,7 @@ def py_project(name=None,
|
|||
py_binary(
|
||||
name=name,
|
||||
main=main,
|
||||
srcs=lib_srcs,
|
||||
deps=(lib_deps or []) + (main_deps or []),
|
||||
data=lib_data,
|
||||
deps=(main_deps or []) + [lib_name],
|
||||
imports=[
|
||||
"src/python",
|
||||
"src/resources",
|
||||
|
@ -225,8 +225,7 @@ def py_project(name=None,
|
|||
zapp_binary(
|
||||
name=name + ".zapp",
|
||||
main=main,
|
||||
srcs=lib_srcs,
|
||||
deps=lib_deps,
|
||||
deps=(main_deps or []) + [lib_name],
|
||||
data=lib_data,
|
||||
imports=[
|
||||
"src/python",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue