12 #include <hipipe/build_config.hpp>
13 #ifdef HIPIPE_BUILD_PYTHON
15 #include <boost/python.hpp>
17 #include <experimental/filesystem>
19 namespace hipipe::python::utility {
21 struct fs_path_to_python_str {
22 static PyObject* convert(
const std::experimental::filesystem::path& path);
25 struct fs_path_from_python_str {
26 fs_path_from_python_str();
28 static void* convertible(PyObject* obj_ptr);
30 static void construct(PyObject* obj_ptr,
31 boost::python::converter::rvalue_from_python_stage1_data* data);
36 #endif // HIPIPE_BUILD_PYTHON