forked from typedb/typedb-ml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
103 lines (93 loc) · 3.47 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
exports_files(["requirements.txt", "deployment.properties", "RELEASE_TEMPLATE.md"])
load("@rules_python//python:defs.bzl", "py_library", "py_test")
load("@graknlabs_kglib_pip//:requirements.bzl",
graknlabs_kglib_requirement = "requirement")
load("@graknlabs_bazel_distribution//pip:rules.bzl", "assemble_pip", "deploy_pip")
load("@graknlabs_kglib_pip//:requirements.bzl",
graknlabs_kglib_requirement = "requirement")
load("@graknlabs_bazel_distribution//github:rules.bzl", "deploy_github")
load("@graknlabs_dependencies//distribution/artifact:rules.bzl", "artifact_extractor")
assemble_pip(
name = "assemble-pip",
target = "//kglib:kglib",
package_name = "grakn-kglib",
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
],
url = "https://github.com/graknlabs/kglib",
author = "Grakn Labs",
author_email = "community@grakn.ai",
license = "Apache-2.0",
install_requires=[
'enum-compat==0.0.2',
'grakn-client==1.8.0',
'absl-py==0.8.0',
'astor==0.8.0',
'cloudpickle==1.2.2',
'contextlib2==0.5.5',
'cycler==0.10.0',
'decorator==4.4.0',
'dm-sonnet==1.35',
'future==0.17.1',
'gast==0.3.1',
'google-pasta==0.1.7',
'graph-nets==1.0.4',
'grpcio==1.24.1,<2',
'h5py==2.10.0',
'Keras-Applications==1.0.8',
'Keras-Preprocessing==1.1.0',
'kiwisolver==1.1.0',
'Markdown==3.1.1',
'matplotlib==3.1.1',
'networkx==2.3',
'numpy==1.17.2',
'pandas==0.25.1',
'protobuf==3.6.1',
'pyparsing==2.4.2',
'python-dateutil==2.8.0',
'pytz==2019.2',
'scipy==1.3.1',
'semantic-version==2.8.2',
'six>=1.11.0',
'tensorboard==1.14.0',
'tensorflow==1.14.0',
'tensorflow-estimator==1.14.0',
'tensorflow-probability==0.7.0',
'termcolor==1.1.0',
'Werkzeug==0.15.6',
'wrapt==1.11.2',
],
keywords = ["machine learning", "logical reasoning", "knowledege graph", "grakn", "database", "graph",
"knowledgebase", "knowledge-engineering"],
description = "A Machine Learning Library for the Grakn knowledge graph.",
long_description_file = "//:README.md",
)
deploy_pip(
name = "deploy-pip",
target = ":assemble-pip",
deployment_properties = "@graknlabs_dependencies//distribution:deployment.properties",
)
artifact_extractor(
name = "grakn-extractor",
artifact = "@graknlabs_grakn_core_artifact//file",
)
load("@graknlabs_dependencies//tool/release:rules.bzl", "release_validate_deps")
release_validate_deps(
name = "release-validate-deps",
refs = "@graknlabs_kglib_workspace_refs//:refs.json",
tagged_deps = [
# "graknlabs_grakn_core", # TODO We cannot currently use a released grakn for tests as 1.8.0 has an outdated build pipeline
"graknlabs_client_python",
],
tags = ["manual"]
)