add engine.py to the scripts installed by setuptools
authorLuc Yriarte <luc.yriarte@intel.com>
Mon, 7 Jul 2014 13:27:06 +0000 (15:27 +0200)
committerLuc Yriarte <luc.yriarte@intel.com>
Mon, 7 Jul 2014 13:27:06 +0000 (15:27 +0200)
Otherwise, when Cloudeebus is installed as mentioned in the README
cloudeebus.py will fail to find engine.py at runtime.

setup.py

index cd3d53a..7a57b46 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ setup(name = "cloudeebus",
        author_email = "luc.yriarte@intel.com, christophe.guiraud@intel.com, frederic.paut@intel.com",
        url = "https://github.com/01org/cloudeebus/wiki",
        license = "http://www.apache.org/licenses/LICENSE-2.0",
-       scripts = ["cloudeebus/cloudeebus.py"],
+       scripts = ["cloudeebus/cloudeebus.py","cloudeebus/engine.py"],
        packages = ["cloudeebus"],
        data_files = [("cloudeebus" ,["AUTHORS", "README.md", "LICENSE"]),
                                 ('/etc/dbus-1/system.d/', ['org.cloudeebus.conf'])],