From b535c699af8cb0dada006470fe9cb4cb749585ff Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Wed, 17 May 2017 15:02:14 -0700 Subject: ICE-7442 - reorganizing Python installation --- cpp/src/Slice/PythonUtil.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cpp/src/Slice/PythonUtil.h') diff --git a/cpp/src/Slice/PythonUtil.h b/cpp/src/Slice/PythonUtil.h index 0b26d696e3b..d0967fce529 100644 --- a/cpp/src/Slice/PythonUtil.h +++ b/cpp/src/Slice/PythonUtil.h @@ -18,6 +18,17 @@ namespace Slice namespace Python { +// +// Get the package directory from metadata (if any). +// +std::string getPackageDirectory(const std::string&, const Slice::UnitPtr&); + +// +// Determine the name of a Python source file for use in an import statement. +// The return value does not include the .py extension. +// +std::string getImportFileName(const std::string&, const Slice::UnitPtr&, const std::vector&); + // // Generate Python code for a translation unit. // -- cgit v1.2.3