Skip to content

Commit

Permalink
bindings: Remove cpp_const (RobotLocomotion#14270)
Browse files Browse the repository at this point in the history
This appears to be dead code.  By dropping it, we can also drop an
awkward dependency.
  • Loading branch information
jwnimmer-tri authored Nov 1, 2020
1 parent 135e429 commit 432c8db
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 1,014 deletions.
1 change: 0 additions & 1 deletion bindings/pydrake/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ PY_LIBRARIES_WITH_INSTALL = [
":polynomial_py",
":symbolic_py",
":trajectories_py",
"//bindings/pydrake/third_party",
"//bindings/pydrake/visualization",
] + PYBIND_SUBPACKAGES_FOR_COVERAGE

Expand Down
1 change: 0 additions & 1 deletion bindings/pydrake/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@
from .multibody.all import *
from .solvers.all import *
from .systems.all import *
# - `third_party` does not offer public Drake library symbols.
from .visualization.all import *
17 changes: 0 additions & 17 deletions bindings/pydrake/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,6 @@ drake_cc_library(
],
)

drake_py_library(
name = "cpp_const_py",
srcs = ["cpp_const.py"],
deps = [
":module_py",
"//bindings/pydrake/third_party:wrapt_py",
],
)

drake_cc_library(
name = "sorted_pair_pybind",
hdrs = ["sorted_pair_pybind.h"],
Expand Down Expand Up @@ -354,7 +345,6 @@ PY_LIBRARIES_WITH_INSTALL = [
PY_LIBRARIES = [
":compatibility_py",
":containers_py",
":cpp_const_py",
":cpp_param_py",
":cpp_template_py",
":deprecation_py",
Expand Down Expand Up @@ -473,13 +463,6 @@ drake_py_unittest(
],
)

drake_py_unittest(
name = "cpp_const_test",
deps = [
":cpp_const_py",
],
)

drake_py_unittest(
name = "cpp_param_test",
deps = [
Expand Down
1 change: 0 additions & 1 deletion bindings/pydrake/common/all.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from . import *
from .compatibility import *
from .containers import *
# - `cpp_const` does not offer public Drake symbols.
# - `cpp_param` does not offer public Drake symbols.
# - `cpp_template` does not offer public Drake symbols.
# - `deprecation` does not offer public Drake symbols.
Expand Down
307 changes: 0 additions & 307 deletions bindings/pydrake/common/cpp_const.py

This file was deleted.

Loading

0 comments on commit 432c8db

Please sign in to comment.