forked from google/pymql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
executable file
·59 lines (54 loc) · 1.11 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Author: [email protected] (Tyler Pirtle)
#
# Description:
# mql - implementation(s) of the Metaweb Query Language
package(default_visibility = ["//visibility:public"])
py_library(
name = "mql",
srcs = [
"__init__.py",
"tid.py",
"error.py",
"api/__init__.py",
"api/envelope.py",
"formats/__init__.py",
"formats/http.py",
"util/__init__.py",
"util/dumper.py",
"util/keyquote.py",
"util/mwdatetime.py",
] + glob([
"log/*.py",
"mql/*.py",
"mql/graph/*.py",
]),
deps = [
"@absl_py//absl:app",
"@absl_py//absl/flags",
"@absl_py//absl/logging",
],
)
#py_test(
# name = "pymql_import_test",
# size = "small",
# srcs = ["pymql_import_test.py"],
# deps = [
# ":mql",
# "//pyglib",
# "//testing/pybase",
# ],
#)
py_binary(
name = "mqlbin",
srcs = ["mqlbin.py"],
python_version = "PY2",
deps = [
":mql",
],
)
test_suite(
name = "AllTests",
tests = [
"//third_party/py/pymql/test:AllTests",
],
)