missing documentation on how to install extensions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Server |
Confirmed
|
Low
|
Antonio Terceiro |
Bug Description
Trying to follow http://
. /srv/lava/
cd /path/to/
./setup.py develop
It blew up with:
~/demo$ ./setup.py develop
error in lava-server-demo setup command: Unable to import 'demo_app': No module named demo_app
I noticed that in the instance virtualenv, '.' is not the load path, so the only way I could install the demo app was with the following patch to setup.py:
-------
--- /vagrant/
+++ setup.py 2013-02-05 18:44:27.926303586 +0000
@@ -20,6 +20,9 @@
from setuptools import setup, find_packages
+import sys
+sys.path.insert(0, '.')
+
setup(
name=
-------
This feels like a hack that could be avoided if the proper way to install extensions is documented.
tags: | added: docs |
properly formatted patch: http:// paste.ubuntu. com/1613711/