diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-05-17 15:02:14 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-05-17 15:02:14 -0700 |
commit | b535c699af8cb0dada006470fe9cb4cb749585ff (patch) | |
tree | 57c612fee30483697cfac8873b7da319f9a94891 /cpp/src/Slice/PythonUtil.h | |
parent | Fixed ICE-7880 - renamed HeartbeatOnInvocation to HeartbeatOnDispatch (diff) | |
download | ice-b535c699af8cb0dada006470fe9cb4cb749585ff.tar.bz2 ice-b535c699af8cb0dada006470fe9cb4cb749585ff.tar.xz ice-b535c699af8cb0dada006470fe9cb4cb749585ff.zip |
ICE-7442 - reorganizing Python installation
Diffstat (limited to 'cpp/src/Slice/PythonUtil.h')
-rw-r--r-- | cpp/src/Slice/PythonUtil.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -19,6 +19,17 @@ 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<std::string>&); + +// // Generate Python code for a translation unit. // void generate(const Slice::UnitPtr&, bool, bool, const std::vector<std::string>&, IceUtilInternal::Output&); |