aboutsummaryrefslogtreecommitdiff
path: root/python/package_dep_spec_constraint.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/package_dep_spec_constraint.cc')
-rw-r--r--python/package_dep_spec_constraint.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/package_dep_spec_constraint.cc b/python/package_dep_spec_constraint.cc
index 2b17ae194..2d42cb5f1 100644
--- a/python/package_dep_spec_constraint.cc
+++ b/python/package_dep_spec_constraint.cc
@@ -148,5 +148,24 @@ void expose_package_dep_spec_constraint()
"[RO] The ::/ path in question"
)
;
+
+ /**
+ * InstallableToPathConstraint
+ */
+ class_package_dep_spec_constraint<InstallableToPathConstraint>
+ (
+ "InstalledableToPathConstraint",
+ "A ::/? constraint for a PackageDepSpec.",
+ bp::no_init
+ )
+
+ .add_property("path", &InstallableToPathConstraint::path,
+ "[RO] The ::/? path in question"
+ )
+
+ .add_property("include_masked", &InstallableToPathConstraint::include_masked,
+ "[RO] Whether to include masked, as per ::/??"
+ )
+ ;
}