Skip to content

Commit

Permalink
Remove Python dependencies from drake.cps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jan 15, 2019
1 parent 952cd12 commit 7efb2ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
11 changes: 0 additions & 11 deletions tools/install/libdrake/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@ load(
load("//tools/lint:lint.bzl", "add_lint_tests")
load(":build_components.bzl", "LIBDRAKE_COMPONENTS")
load("@drake//tools/skylark:drake_cc.bzl", "drake_cc_binary")
load("@python//:version.bzl", "PYTHON_VERSION")

genrule(
name = "drake_cps_generate",
srcs = ["drake.cps.in"],
outs = ["drake.cps"],
cmd = "cat \"$<\" | sed 's#@PYTHON_VERSION@#{}#g' > \"$@\"".format(
PYTHON_VERSION,
),
visibility = ["//visibility:private"],
)

# TODO(eric.cousineau): Try to make the CMake target `drake-marker` private,
# such that no downstream users can use it?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,6 @@
"Version": "2.6.1",
"X-CMake-Find-Args": ["MODULE"]
},
"PythonInterp": {
"Version": "@PYTHON_VERSION@",
"X-CMake-Find-Args": [
"EXACT",
"MODULE"
]
},
"PythonLibs": {
"Version": "@PYTHON_VERSION@",
"X-CMake-Find-Args": [
"EXACT",
"MODULE"
]
},
"robotlocomotion-lcmtypes": {
"Hints": ["@prefix@/lib/cmake/robotlocomotion-lcmtypes"],
"X-CMake-Find-Args": ["CONFIG"]
Expand Down Expand Up @@ -117,7 +103,6 @@
}
},
"X-CMake-Variables": {
"drake_PYTHON_DIRS": "${CMAKE_CURRENT_LIST_DIR}/../../python@PYTHON_VERSION@/site-packages",
"drake_RESOURCE_ROOT": "${CMAKE_CURRENT_LIST_DIR}/../../../share/drake"
},
"X-CMake-Variables-Init": {
Expand Down

0 comments on commit 7efb2ae

Please sign in to comment.