ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html

changeset 44
989c961c33ab
parent 37
1b089e0fba1e
child 48
c313efdb01de
diff -r 14e0bd707f16 -r 989c961c33ab ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html
--- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html	Tue Mar 26 16:47:15 2013 +0100
+++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html	Mon Apr 01 19:40:41 2013 +0200
@@ -72,6 +72,9 @@
 <td><a href="#Project.__findProjects">__findProjects</a></td>
 <td>Private method to determine the relative path of all Pyramid projects (= top level dirs).</td>
 </tr><tr>
+<td><a href="#Project.__getExecutablePaths">__getExecutablePaths</a></td>
+<td>Private method to build all full path of an executable file from the environment.</td>
+</tr><tr>
 <td><a href="#Project.__getInitDbCommand">__getInitDbCommand</a></td>
 <td>Private method to create the path to the initialization script.</td>
 </tr><tr>
@@ -150,6 +153,9 @@
 <td><a href="#Project.getPyramidCommand">getPyramidCommand</a></td>
 <td>Public method to build a Pyramid command.</td>
 </tr><tr>
+<td><a href="#Project.getPyramidVersion">getPyramidVersion</a></td>
+<td>Public method to get the Pyramid version.</td>
+</tr><tr>
 <td><a href="#Project.getPythonCommand">getPythonCommand</a></td>
 <td>Public method to build the Python command.</td>
 </tr><tr>
@@ -174,6 +180,9 @@
 <td><a href="#Project.projectOpenedHooks">projectOpenedHooks</a></td>
 <td>Public method to add our hook methods.</td>
 </tr><tr>
+<td><a href="#Project.supportedPythonVariants">supportedPythonVariants</a></td>
+<td>Public method to get the supported Python variants.</td>
+</tr><tr>
 <td><a href="#Project.updateCatalogs">updateCatalogs</a></td>
 <td>Public method to update the message catalogs.</td>
 </tr><tr>
@@ -219,6 +228,24 @@
 <dd>
 list of projects (list of string)
 </dd>
+</dl><a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a>
+<h4>Project.__getExecutablePaths</h4>
+<b>__getExecutablePaths</b>(<i>file</i>)
+<p>
+        Private method to build all full path of an executable file from
+        the environment.
+</p><dl>
+<dt><i>file</i></dt>
+<dd>
+filename of the executable (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+list of full executable names, if the executable file is accessible
+            via the searchpath defined by the PATH environment variable, or an
+            empty list otherwise.
+</dd>
 </dl><a NAME="Project.__getInitDbCommand" ID="Project.__getInitDbCommand"></a>
 <h4>Project.__getInitDbCommand</h4>
 <b>__getInitDbCommand</b>(<i></i>)
@@ -246,10 +273,16 @@
 </dd>
 </dl><a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a>
 <h4>Project.__getVirtualEnvironment</h4>
-<b>__getVirtualEnvironment</b>(<i></i>)
+<b>__getVirtualEnvironment</b>(<i>language=""</i>)
 <p>
         Private method to get the path of the virtual environment.
 </p><dl>
+<dt><i>language</i></dt>
+<dd>
+Python variant to get the virtual environment
+            for (string, one of '', 'Python2' or 'Python3')
+</dd>
+</dl><dl>
 <dt>Returns:</dt>
 <dd>
 path of the virtual environment (string)
@@ -436,19 +469,33 @@
         Public method to extract the messages catalog template file.
 </p><a NAME="Project.getPyramidCommand" ID="Project.getPyramidCommand"></a>
 <h4>Project.getPyramidCommand</h4>
-<b>getPyramidCommand</b>(<i>cmd</i>)
+<b>getPyramidCommand</b>(<i>cmd, language=""</i>)
 <p>
         Public method to build a Pyramid command.
 </p><dl>
 <dt><i>cmd</i></dt>
 <dd>
 command (string)
+</dd><dt><i>language</i></dt>
+<dd>
+Python variant to get the virtual environment
+            for (string, one of '', 'Python2' or 'Python3')
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
 full pyramid command (string)
 </dd>
+</dl><a NAME="Project.getPyramidVersion" ID="Project.getPyramidVersion"></a>
+<h4>Project.getPyramidVersion</h4>
+<b>getPyramidVersion</b>(<i></i>)
+<p>
+        Public method to get the Pyramid version.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+Pyramid version (string)
+</dd>
 </dl><a NAME="Project.getPythonCommand" ID="Project.getPythonCommand"></a>
 <h4>Project.getPythonCommand</h4>
 <b>getPythonCommand</b>(<i></i>)
@@ -516,7 +563,17 @@
 <b>projectOpenedHooks</b>(<i></i>)
 <p>
         Public method to add our hook methods.
-</p><a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a>
+</p><a NAME="Project.supportedPythonVariants" ID="Project.supportedPythonVariants"></a>
+<h4>Project.supportedPythonVariants</h4>
+<b>supportedPythonVariants</b>(<i></i>)
+<p>
+        Public method to get the supported Python variants.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+list of supported Python variants (list of strings)
+</dd>
+</dl><a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a>
 <h4>Project.updateCatalogs</h4>
 <b>updateCatalogs</b>(<i>filenames</i>)
 <p>

eric ide

mercurial