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

Remove some tools/device from default install



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2550 b32b6428-25c9-4566-ad07-03861ab6144f
parent 8e85b170
Branches
No related tags found
No related merge requests found
......@@ -5,8 +5,7 @@ xAAL Python stack
Requirements
~~~~~~~~~~~~
To install xAAL for Python, you need Python3. Python version 3 isn't mandatory
but highly recommended (some parts haven't be tested with Python 2 since a while).
To install xAAL for Python, you need Python3.
Un*x like
~~~~~~~~~~
......@@ -23,7 +22,7 @@ For Debian / Ubuntu users:
$ apt-get install subversion python3-dev libsodium-dev python3-setuptools gcc
# recommended
$ apt-get install python3-virtualenv python3-pip
$ apt-get install python3-venv python3-pip
Install
~~~~~~~
......@@ -36,7 +35,6 @@ First build a virtualenv :
.. code-block:: bash
# for debian / ubuntu
$ python3 -m venv xaal_env
......@@ -177,8 +175,8 @@ module.
# to run the Zwave gateway
$ python -m xaal.zwave
Of course, you find need to install needed packages.
Of course, you need to install packages first.
Notes
~~~~~
......@@ -190,9 +188,6 @@ Notes
FAQ
~~~
- Python terminated by signal SIGSEGV: You probably forgot to setup the key in
config file.
- Configuration files are hard to read / edit. Why don't you use YAML or XML
for config ?
......
......@@ -10,13 +10,24 @@ import sys
PYTHON = sys.executable
BASE=['./libs/lib','./libs/monitor','./libs/schemas']
BLACKLIST = ['./devices/sensors/lm_sensors','./devices/notifications/gtk-notify']
BLACKLIST = ['./devices/sensors/lm_sensors',
'./devices/notifications/gtk-notify',
'./devices/notifications/conky',
'./devices/protocols/ZWave',
'./apps/fuse']
def title(msg):
print("="*78)
print("Running %s" % msg)
print("="*78)
def setup_develop(path):
title(path)
os.system('cd %s && %s setup.py develop' % (path,PYTHON))
def setup_install(path):
title(path)
os.system('cd %s && %s setup.py install' % (path,PYTHON))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment