Skip to content
Snippets Groups Projects
Commit a7e295ae authored by jkerdreu's avatar jkerdreu
Browse files

minor fixes

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2132 b32b6428-25c9-4566-ad07-03861ab6144f
parent 64e83274
No related branches found
No related tags found
No related merge requests found
......@@ -576,7 +576,9 @@ Install the following packages:</p>
<li><p>libsodium-dev</p></li>
</ul>
<p>For Debian / Ubuntu users:</p>
<pre class="code bash literal-block"><code>$ apt-get install subversion python3-dev libsodium-dev</code></pre>
<pre class="code bash literal-block"><code>$ apt-get install subversion python3-dev libsodium-dev
<span class="comment single"># recommended
</span>$ apt-get install python3-virtualenv</code></pre>
</div>
<div class="section" id="install">
<h1>Install</h1>
......@@ -588,10 +590,9 @@ you have to install things from SVN or archive.</p>
</span>$ python3 -m virtualenv --python<span class="operator">=</span>python3 xaal_env
<span class="comment single"># or
</span>$ virtualenv3 xaal_env
$ <span class="name builtin">source</span> xaal_env/bin/activate</code></pre>
</span>$ virtualenv3 xaal_env</code></pre>
<p>Everytime, you want to use the binding, you must source the activate script.</p>
<pre class="code bash literal-block"><code>$ <span class="name builtin">source</span> xaal_env/bin/activate</code></pre>
<p>Download sources from SVN:</p>
<pre class="code bash literal-block"><code>$ svn checkout https://redmine.telecom-bretagne.eu/svn/xaal/code/Python/trunk/ xaal_svn</code></pre>
<p>First, install the xaal.lib package:</p>
......@@ -672,13 +673,13 @@ of 1 minutes is accepted, but no more.</p></li>
<ul>
<li><p>Python terminated by signal SIGSEGV: You probably forgot to setup the key in
config file.</p></li>
<li><p>Configuration files are hard to read / edit. Why don't you use YAML or XXML
<li><p>Configuration files are hard to read / edit. Why don't you use YAML or XML
for config ?</p>
<p>First, we need something that support nested config so we can
not use ConfigParser. Next, we tested severals YAML packages, but they are
really slow to import. We want xAAL stack to load as fast as possible, and
importing big packages (like PyYAML) take around 0.5 sec on a Raspy. This
is way too much for a simple command-line tools like xaal-info for example.
<p>First, we need something that support nested config so we can not use
ConfigParser. Next, we tested severals YAML packages, but they are really
slow to import. We want xAAL stack to load as fast as possible, and importing
big packages (like PyYAML) take around 0.5 sec on a Raspy. This is way too
much for a simple command-line tools like xaal-info for example.
We want to provide a better user experience.</p>
</li>
</ul>
......
......@@ -17,7 +17,9 @@ For Debian / Ubuntu users:
.. code-block:: bash
$ apt-get install subversion python3-dev libsodium-dev
$ apt-get install subversion python3-dev libsodium-dev
# recommended
$ apt-get install python3-virtualenv
Install
~~~~~~~
......@@ -35,11 +37,15 @@ First build a virtualenv :
# or
$ virtualenv3 xaal_env
$ source xaal_env/bin/activate
Everytime, you want to use the binding, you must source the activate script.
.. code-block:: bash
$ source xaal_env/bin/activate
Download sources from SVN:
.. code-block:: bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment