forward_api_calls is a binary and should not get packaged by setup.py, use make instead
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 29 Dec 2018 07:20:55 +0000 (08:20 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 29 Dec 2018 07:20:55 +0000 (08:20 +0100)
Makefile
setup.py

index 0b29c84..d2c22d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@ install: install-miscell install-startup
 # need to ship on all nodes regardless of WITH_INIT and WITH_SYSTEMD that
 # impacts how nodemanager itself gets started
 install-miscell:
+       install -d -m 755 forward_api_calls $(DESTDIR)/$(bindir)/forward_api_calls
        install -d -m 755 $(DESTDIR)/var/lib/nodemanager
        install -D -m 644 /dev/null $(DESTDIR)/etc/sysconfig/nodemanager
        install -D -m 444 README $(DESTDIR)/$(datadir)/NodeManager/README
index 097c5f2..79debc0 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -55,9 +55,6 @@ setup(
         # this plugin uses vserver for now
         'plugins.drl',
         ],
-    scripts = [
-        'forward_api_calls',
-        ],
     packages =[
         ],
     )