<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>flumotion.common.setup</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> Package flumotion :: <a href="flumotion.common-module.html">Package common</a> :: Module setup </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide private</a>]</span></td></tr> </table> </td> </tr> </table> <h1 class="epydoc">Source Code for <a href="flumotion.common.setup-module.html">Module flumotion.common.setup</a></h1> <pre class="py-src"> <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># -*- Mode: Python -*-</tt> </tt> <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"># vi:si:et:sw=4:sts=4:ts=4</tt> </tt> <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># Flumotion - a streaming media server</tt> </tt> <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2004,2005,2006,2007 Fluendo, S.L. (www.fluendo.com).</tt> </tt> <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># All rights reserved.</tt> </tt> <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> </tt> <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"># This file may be distributed and/or modified under the terms of</tt> </tt> <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"># the GNU General Public License version 2 as published by</tt> </tt> <a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"><tt class="py-comment"># the Free Software Foundation.</tt> </tt> <a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"><tt class="py-comment"># This file is distributed without any warranty; without even the implied</tt> </tt> <a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"><tt class="py-comment"># warranty of merchantability or fitness for a particular purpose.</tt> </tt> <a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"><tt class="py-comment"># See "LICENSE.GPL" in the source distribution for more information.</tt> </tt> <a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> </tt> <a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-comment"># Licensees having purchased or holding a valid Flumotion Advanced</tt> </tt> <a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"><tt class="py-comment"># Streaming Server license may use this file in accordance with the</tt> </tt> <a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"><tt class="py-comment"># Flumotion Advanced Streaming Server Commercial License Agreement.</tt> </tt> <a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"><tt class="py-comment"># See "LICENSE.Flumotion" in the source distribution for more information.</tt> </tt> <a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> </tt> <a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"><tt class="py-comment"># Headers in this file shall remain intact.</tt> </tt> <a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> </tt> <a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"><tt class="py-docstring">"""initalizing logging and package paths.</tt> </tt> <a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> <a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> </tt> <a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">"$Rev: 7162 $"</tt> </tt> <a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> </tt> <a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> </tt> <a name="setup"></a><div id="setup-def"><a name="L28"></a><tt class="py-lineno">28</tt> <a class="py-toggle" href="#" id="setup-toggle" onclick="return toggle('setup');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.common.setup-module.html#setup">setup</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="setup-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="setup-expanded"><a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"><tt class="py-docstring"> Set up the logging system.</tt> </tt> <a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">flumotion</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module flumotion.admin.command.common=flumotion.admin.command.common-module.html,Package flumotion.common=flumotion.common-module.html,Module flumotion.common.common=flumotion.common.common-module.html"><a title="flumotion.admin.command.common flumotion.common flumotion.common.common" class="py-name" href="#" onclick="return doclink('link-0', 'common', 'link-0');">common</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Module flumotion.common.log=flumotion.common.log-module.html,Package flumotion.extern.log=flumotion.extern.log-module.html,Module flumotion.extern.log.log=flumotion.extern.log.log-module.html,Method flumotion.extern.log.log.Loggable.log()=flumotion.extern.log.log.Loggable-class.html#log,Function flumotion.extern.log.log.log()=flumotion.extern.log.log-module.html#log,Function flumotion.twisted.integration.log()=flumotion.twisted.integration-module.html#log"><a title="flumotion.common.log flumotion.extern.log flumotion.extern.log.log flumotion.extern.log.log.Loggable.log flumotion.extern.log.log.log flumotion.twisted.integration.log" class="py-name" href="#" onclick="return doclink('link-1', 'log', 'link-1');">log</a></tt> </tt> <a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt id="link-2" class="py-name"><a title="flumotion.common.log flumotion.extern.log flumotion.extern.log.log flumotion.extern.log.log.Loggable.log flumotion.extern.log.log.log flumotion.twisted.integration.log" class="py-name" href="#" onclick="return doclink('link-2', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Function flumotion.common.log.init()=flumotion.common.log-module.html#init,Method flumotion.component.bouncers.bouncer.AuthSessionBouncer.init()=flumotion.component.bouncers.bouncer.AuthSessionBouncer-class.html#init,Method flumotion.component.bouncers.bouncer.Bouncer.init()=flumotion.component.bouncers.bouncer.Bouncer-class.html#init,Method flumotion.component.bouncers.bouncer.ChallengeResponseBouncer.init()=flumotion.component.bouncers.bouncer.ChallengeResponseBouncer-class.html#init,Method flumotion.component.bouncers.component.Bouncer.init()=flumotion.component.bouncers.component.Bouncer-class.html#init,Method flumotion.component.bouncers.icalbouncer.IcalBouncer.init()=flumotion.component.bouncers.icalbouncer.IcalBouncer-class.html#init,Method flumotion.component.bouncers.plug.BouncerPlug.init()=flumotion.component.bouncers.plug.BouncerPlug-class.html#init,Method flumotion.component.bouncers.plug.ChallengeResponseBouncerPlug.init()=flumotion.component.bouncers.plug.ChallengeResponseBouncerPlug-class.html#init,Method flumotion.component.combiners.composite.composite.Composite.init()=flumotion.component.combiners.composite.composite.Composite-class.html#init,Method flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog.init()=flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog-class.html#init,Method flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog.init()=flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog-class.html#init,Method flumotion.component.combiners.switch.switch.AVSwitch.init()=flumotion.component.combiners.switch.switch.AVSwitch-class.html#init,Method flumotion.component.combiners.switch.switch.Switch.init()=flumotion.component.combiners.switch.switch.Switch-class.html#init,Method flumotion.component.component.BaseComponent.init()=flumotion.component.component.BaseComponent-class.html#init,Method flumotion.component.consumers.disker.disker.Disker.init()=flumotion.component.consumers.disker.disker.Disker-class.html#init,Method flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer.init()=flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer-class.html#init,Method flumotion.component.feedcomponent.ParseLaunchComponent.init()=flumotion.component.feedcomponent.ParseLaunchComponent-class.html#init,Method flumotion.component.feedcomponent010.FeedComponent.init()=flumotion.component.feedcomponent010.FeedComponent-class.html#init,Method flumotion.component.misc.httpserver.httpserver.HTTPFileStreamer.init()=flumotion.component.misc.httpserver.httpserver.HTTPFileStreamer-class.html#init,Method flumotion.component.misc.porter.porter.Porter.init()=flumotion.component.misc.porter.porter.Porter-class.html#init,Method flumotion.component.producers.audiotest.audiotest.AudioTest.init()=flumotion.component.producers.audiotest.audiotest.AudioTest-class.html#init,Method flumotion.component.producers.looper.looper.Looper.init()=flumotion.component.producers.looper.looper.Looper-class.html#init,Method flumotion.component.producers.playlist.playlist.PlaylistProducer.init()=flumotion.component.producers.playlist.playlist.PlaylistProducer-class.html#init,Method flumotion.component.producers.unixdomain.unixdomain.UnixDomainProvider.init()=flumotion.component.producers.unixdomain.unixdomain.UnixDomainProvider-class.html#init,Method flumotion.component.producers.videotest.videotest.VideoTest.init()=flumotion.component.producers.videotest.videotest.VideoTest-class.html#init,Function flumotion.extern.log.log.init()=flumotion.extern.log.log-module.html#init"><a title="flumotion.common.log.init flumotion.component.bouncers.bouncer.AuthSessionBouncer.init flumotion.component.bouncers.bouncer.Bouncer.init flumotion.component.bouncers.bouncer.ChallengeResponseBouncer.init flumotion.component.bouncers.component.Bouncer.init flumotion.component.bouncers.icalbouncer.IcalBouncer.init flumotion.component.bouncers.plug.BouncerPlug.init flumotion.component.bouncers.plug.ChallengeResponseBouncerPlug.init flumotion.component.combiners.composite.composite.Composite.init flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog.init flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog.init flumotion.component.combiners.switch.switch.AVSwitch.init flumotion.component.combiners.switch.switch.Switch.init flumotion.component.component.BaseComponent.init flumotion.component.consumers.disker.disker.Disker.init flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer.init flumotion.component.feedcomponent.ParseLaunchComponent.init flumotion.component.feedcomponent010.FeedComponent.init flumotion.component.misc.httpserver.httpserver.HTTPFileStreamer.init flumotion.component.misc.porter.porter.Porter.init flumotion.component.producers.audiotest.audiotest.AudioTest.init flumotion.component.producers.looper.looper.Looper.init flumotion.component.producers.playlist.playlist.PlaylistProducer.init flumotion.component.producers.unixdomain.unixdomain.UnixDomainProvider.init flumotion.component.producers.videotest.videotest.VideoTest.init flumotion.extern.log.log.init" class="py-name" href="#" onclick="return doclink('link-3', 'init', 'link-3');">init</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> </div><a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> </tt> <a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> </tt> <a name="setupPackagePath"></a><div id="setupPackagePath-def"><a name="L36"></a><tt class="py-lineno">36</tt> <a class="py-toggle" href="#" id="setupPackagePath-toggle" onclick="return toggle('setupPackagePath');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.common.setup-module.html#setupPackagePath">setupPackagePath</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="setupPackagePath-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="setupPackagePath-expanded"><a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"><tt class="py-docstring"> set up all project paths specified in the FLU_PROJECT_PATH environment</tt> </tt> <a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"><tt class="py-docstring"> variable.</tt> </tt> <a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> <a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"><tt class="py-docstring"> This should be called by every Flumotion binary before starting/importing</tt> </tt> <a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"><tt class="py-docstring"> any other flumotion code.</tt> </tt> <a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt> <a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">flumotion</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="flumotion.admin.command.common flumotion.common flumotion.common.common" class="py-name" href="#" onclick="return doclink('link-4', 'common', 'link-0');">common</a></tt> <tt class="py-keyword">import</tt> <tt id="link-5" class="py-name" targets="Module flumotion.common.package=flumotion.common.package-module.html"><a title="flumotion.common.package" class="py-name" href="#" onclick="return doclink('link-5', 'package', 'link-5');">package</a></tt><tt class="py-op">,</tt> <tt id="link-6" class="py-name"><a title="flumotion.common.log flumotion.extern.log flumotion.extern.log.log flumotion.extern.log.log.Loggable.log flumotion.extern.log.log.log flumotion.twisted.integration.log" class="py-name" href="#" onclick="return doclink('link-6', 'log', 'link-1');">log</a></tt> </tt> <a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">flumotion</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Package flumotion.configure=flumotion.configure-module.html,Module flumotion.configure.configure=flumotion.configure.configure-module.html"><a title="flumotion.configure flumotion.configure.configure" class="py-name" href="#" onclick="return doclink('link-7', 'configure', 'link-7');">configure</a></tt> <tt class="py-keyword">import</tt> <tt id="link-8" class="py-name"><a title="flumotion.configure flumotion.configure.configure" class="py-name" href="#" onclick="return doclink('link-8', 'configure', 'link-7');">configure</a></tt> </tt> <a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"> </tt> <a name="L48"></a><tt class="py-lineno">48</tt> <tt class="py-line"> <tt class="py-name">registryPaths</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-9" class="py-name"><a title="flumotion.configure flumotion.configure.configure" class="py-name" href="#" onclick="return doclink('link-9', 'configure', 'link-7');">configure</a></tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Variable flumotion.configure.configure.pythondir=flumotion.configure.configure-module.html#pythondir"><a title="flumotion.configure.configure.pythondir" class="py-name" href="#" onclick="return doclink('link-10', 'pythondir', 'link-10');">pythondir</a></tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt> <a name="L49"></a><tt class="py-lineno">49</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'FLU_PROJECT_PATH'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">:</tt> </tt> <a name="L50"></a><tt class="py-lineno">50</tt> <tt class="py-line"> <tt class="py-name">paths</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">[</tt><tt class="py-string">'FLU_PROJECT_PATH'</tt><tt class="py-op">]</tt> </tt> <a name="L51"></a><tt class="py-lineno">51</tt> <tt class="py-line"> <tt class="py-name">registryPaths</tt> <tt class="py-op">+=</tt> <tt class="py-name">paths</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">':'</tt><tt class="py-op">)</tt> </tt> <a name="L52"></a><tt class="py-lineno">52</tt> <tt class="py-line"> </tt> <a name="L53"></a><tt class="py-lineno">53</tt> <tt class="py-line"> <tt id="link-11" class="py-name"><a title="flumotion.common.log flumotion.extern.log flumotion.extern.log.log flumotion.extern.log.log.Loggable.log flumotion.extern.log.log.log flumotion.twisted.integration.log" class="py-name" href="#" onclick="return doclink('link-11', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Function flumotion.common.avltree.debug()=flumotion.common.avltree-module.html#debug,Module flumotion.common.debug=flumotion.common.debug-module.html,Method flumotion.common.testsuite.TestCase.debug()=flumotion.common.testsuite.TestCase-class.html#debug,Method flumotion.extern.command.command.Command.debug()=flumotion.extern.command.command.Command-class.html#debug,Method flumotion.extern.log.log.Loggable.debug()=flumotion.extern.log.log.Loggable-class.html#debug,Function flumotion.extern.log.log.debug()=flumotion.extern.log.log-module.html#debug,Function flumotion.twisted.integration.debug()=flumotion.twisted.integration-module.html#debug"><a title="flumotion.common.avltree.debug flumotion.common.debug flumotion.common.testsuite.TestCase.debug flumotion.extern.command.command.Command.debug flumotion.extern.log.log.Loggable.debug flumotion.extern.log.log.debug flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-12', 'debug', 'link-12');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'setup'</tt><tt class="py-op">,</tt> <tt class="py-string">'registry paths: %s'</tt> <tt class="py-op">%</tt> <tt class="py-string">", "</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">registryPaths</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> <a name="L54"></a><tt class="py-lineno">54</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">path</tt> <tt class="py-keyword">in</tt> <tt class="py-name">registryPaths</tt><tt class="py-op">:</tt> </tt> <a name="L55"></a><tt class="py-lineno">55</tt> <tt class="py-line"> <tt id="link-13" class="py-name"><a title="flumotion.common.log flumotion.extern.log flumotion.extern.log.log flumotion.extern.log.log.Loggable.log flumotion.extern.log.log.log flumotion.twisted.integration.log" class="py-name" href="#" onclick="return doclink('link-13', 'log', 'link-1');">log</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="flumotion.common.avltree.debug flumotion.common.debug flumotion.common.testsuite.TestCase.debug flumotion.extern.command.command.Command.debug flumotion.extern.log.log.Loggable.debug flumotion.extern.log.log.debug flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-14', 'debug', 'link-12');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'setup'</tt><tt class="py-op">,</tt> <tt class="py-string">'registering package path: %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">path</tt><tt class="py-op">)</tt> </tt> <a name="L56"></a><tt class="py-lineno">56</tt> <tt class="py-line"> <tt class="py-comment"># we register with the path as part of the key, since</tt> </tt> <a name="L57"></a><tt class="py-lineno">57</tt> <tt class="py-line"> <tt class="py-comment"># these aren't meant to be replaced</tt> </tt> <a name="L58"></a><tt class="py-lineno">58</tt> <tt class="py-line"> <tt id="link-15" class="py-name"><a title="flumotion.common.package" class="py-name" href="#" onclick="return doclink('link-15', 'package', 'link-5');">package</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Function flumotion.common.package.getPackager()=flumotion.common.package-module.html#getPackager"><a title="flumotion.common.package.getPackager" class="py-name" href="#" onclick="return doclink('link-16', 'getPackager', 'link-16');">getPackager</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Method flumotion.common.package.Packager.registerPackagePath()=flumotion.common.package.Packager-class.html#registerPackagePath"><a title="flumotion.common.package.Packager.registerPackagePath" class="py-name" href="#" onclick="return doclink('link-17', 'registerPackagePath', 'link-17');">registerPackagePath</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">,</tt> </tt> <a name="L59"></a><tt class="py-lineno">59</tt> <tt class="py-line"> <tt class="py-string">"FLU_PROJECT_PATH_"</tt> <tt class="py-op">+</tt> <tt class="py-name">path</tt><tt class="py-op">)</tt> </tt> </div><a name="L60"></a><tt class="py-lineno">60</tt> <tt class="py-line"> </tt><script type="text/javascript"> <!-- expandto(location.href); // --> </script> </pre> <br /> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Sun Sep 13 13:14:40 2009 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>