-
Notifications
You must be signed in to change notification settings - Fork 6
/
WORKSPACE
39 lines (33 loc) · 883 Bytes
/
WORKSPACE
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
workspace(name = "com_github_gengo_rules_pypi")
load("//pypi:def.bzl", "pypi_repositories", "pypi_repository", "pypi_wheel_repository")
pypi_repositories()
pypi_repository(
name = "org_python_pypi_simplejson",
pkg = "simplejson",
pure = 1,
srcs_version = "PY2AND3",
version = "3.8.2",
)
pypi_repository(
name = "org_python_pypi_numpy",
linkopts = [
"-B/usr/lib/gcc/x86_64-linux-gnu/4.8/",
"-B/usr/lib/gcc/x86_64-linux-gnu/4.7/",
"-B/usr/lib/gcc/x86_64-linux-gnu/4.6/",
],
modules = ["numpy"],
pkg = "numpy",
srcs_version = "PY2ONLY",
version = "1.11.1",
)
pypi_wheel_repository(
name = "org_python_pypi_msgpack",
modules = ["msgpack"],
pkg = "msgpack-python",
srcs_version = "PY2ONLY",
version = "0.4.7",
)
local_repository(
name = "com_github_gengo_rules_pypi",
path = ".",
)