From 5ea68f2f117d1f500fad7fc206494c8c57c30835 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 8 Mar 2010 15:15:31 +0000 Subject: [PATCH] get them installed --- PLCAPI.spec | 4 ++++ setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/PLCAPI.spec b/PLCAPI.spec index b3a28b1..d69f4a3 100644 --- a/PLCAPI.spec +++ b/PLCAPI.spec @@ -109,6 +109,9 @@ chmod 444 ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d/* echo "* Installing wsdl" install -D -m 644 wsdl/plcapi.wsdl $RPM_BUILD_ROOT/var/www/html/wsdl/plcapi.wsdl +# Install omf-slicemgr.py +install -D -m 744 omf/omf-slicemgr.py $RPM_BUILD_ROOT/usr/bin/ + %clean rm -rf $RPM_BUILD_ROOT @@ -122,6 +125,7 @@ rm -rf $RPM_BUILD_ROOT %{php_extension_dir}/xmlrpc.so %{_sysconfdir}/php.d/xmlrpc.ini %config (noreplace) %{_datadir}/plc_api/PLC/Accessors/Accessors_site.py +/usr/bin/omf-slicemgr.py /etc/plc.d /etc/planetlab/db-config.d /var/www/html/wsdl/plcapi.wsdl diff --git a/setup.py b/setup.py index ee4d16a..b74fb01 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from distutils.core import setup from glob import glob setup(py_modules = ['ModPython'], - packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors', ], + packages = ['PLC', 'PLC/Methods', 'PLC/Methods/system', 'PLC/Accessors', 'aspects'], scripts = ['plcsh', 'Server.py'], data_files = [ ('', ['planetlab5.sql']), -- 2.43.0