/usr/share/doc/python-gtkmvc-doc/userman/install.html is in python-gtkmvc-doc 1.99.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Installation — Model-View-Controller and Observer patterns for PyGTK 1.99.1 documentation</title>
<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '1.99.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Model-View-Controller and Observer patterns for PyGTK 1.99.1 documentation" href="index.html" />
<link rel="next" title="Motivations" href="motiv.html" />
<link rel="prev" title="Introduction" href="intro.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="motiv.html" title="Motivations"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="intro.html" title="Introduction"
accesskey="P">previous</a> |</li>
<li><a href="index.html">Model-View-Controller and Observer patterns for PyGTK 1.99.1 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="installation">
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
<div class="section" id="dependencies">
<h2>Dependencies<a class="headerlink" href="#dependencies" title="Permalink to this headline">¶</a></h2>
<p>The required dependencies are:</p>
<blockquote>
<div><ul class="simple">
<li>Python 2.4.3</li>
<li>GTK+ 2.10.4</li>
<li>PyGTK 2.10.1</li>
</ul>
</div></blockquote>
<p>or newer.</p>
</div>
<div class="section" id="id1">
<h2>Installation<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<p>You can install <em>gtkmvc</em> from source files, with the provided standard
<tt class="file docutils literal"><span class="pre">setup.py</span></tt> based on <tt class="xref py py-mod docutils literal"><span class="pre">distutils</span></tt>:</p>
<div class="highlight-python"><pre>$> python setup.py install</pre>
</div>
<p>Alternatively, Windows users may use the binary installer, and
GNU/Linux users may check if their distribution offers packages for an
easy installation. For example under <cite>Ubuntu Linux 10.10</cite> <em>Maverick
Meerkat</em>:</p>
<div class="highlight-python"><pre>$> apt-cache search gtkmvc
python-gtkmvc - model-view-controller (MVC) implementation for pygtk
python-gtkmvc-doc - pygtkmvc documentation, tutorial and examples</pre>
</div>
<p>However, make sure that you are using the latest available version.</p>
</div>
<div class="section" id="use-without-installing">
<h2>Use without installing<a class="headerlink" href="#use-without-installing" title="Permalink to this headline">¶</a></h2>
<p><em>gtkmvc</em> is designed to work also without being installed, so it is
possible to keep it locally. A typical directory tree of an
application based on <em>gtkmvc</em> may be:</p>
<div class="highlight-python"><pre>top-level
|
|-------- main.py, setup.py, ...
|
|-------- resources
| |------ bin
| |------ glade
| |------ images
| |------ ...
| +------ external <---- sys.path contains this
| |--- ...
| +--- gtkmvc <---- PUT IT HERE!
|-------- src
| |------ models
| |------ views
| |------ controllers
| +------ ...
|
+-------- ...</pre>
</div>
<p>By prepending <cite>external</cite> to <tt class="xref py py-mod docutils literal"><span class="pre">sys.path</span></tt>, <em>gtkmvc</em> will be found as
if it was installed regularly.</p>
<p>Section <a class="reference internal" href="progen.html"><em>progen: A Project Generator</em></a> presents a little utility to build a project
based on <em>gtkmvc</em> from scratch. <cite>progen</cite> generates a structure similar
to this, if you decide to distribute <em>gtkmvc</em> along with your
application.</p>
</div>
<div class="section" id="distribution-of-your-application">
<h2>Distribution of your application<a class="headerlink" href="#distribution-of-your-application" title="Permalink to this headline">¶</a></h2>
<p>If you want, you can distribute <em>gtkmvc</em> along with your application,
for example as depicted above. This helps to minimize the dependencies
of your application.</p>
</div>
<div class="section" id="license-and-copyright">
<h2>License and Copyright<a class="headerlink" href="#license-and-copyright" title="Permalink to this headline">¶</a></h2>
<p><em>gtkmvc</em> is <a class="reference external" href="http://www.fsf.org/">Free Software</a> distributed under
the <a class="reference external" href="http://www.gnu.org/licenses/lgpl-2.1.html">GNU LESSER GENERAL PUBLIC LICENSE</a> (LGPL) version 2 or later
at your choice.</p>
<p>You can distribute your application in any form (even binaries only)
and for any purpose (even commercial). However if you have modified
any file of <em>gtkmvc</em>, you will have to distribute the source files of
your modified version of <em>gtkmvc</em>. For any detail refer to the LGPL
License Terms.</p>
<p>Copyright (C) 2010 by Roberto Cavada <roboogle AT gmail.com>.</p>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Installation</a><ul>
<li><a class="reference internal" href="#dependencies">Dependencies</a></li>
<li><a class="reference internal" href="#id1">Installation</a></li>
<li><a class="reference internal" href="#use-without-installing">Use without installing</a></li>
<li><a class="reference internal" href="#distribution-of-your-application">Distribution of your application</a></li>
<li><a class="reference internal" href="#license-and-copyright">License and Copyright</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="intro.html"
title="previous chapter">Introduction</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="motiv.html"
title="next chapter">Motivations</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/install.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="motiv.html" title="Motivations"
>next</a> |</li>
<li class="right" >
<a href="intro.html" title="Introduction"
>previous</a> |</li>
<li><a href="index.html">Model-View-Controller and Observer patterns for PyGTK 1.99.1 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2010, Roberto Cavada.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>
|