diff options
-rw-r--r-- | func.spec | 1 | ||||
-rwxr-xr-x | scripts/func | 14 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 16 insertions, 1 deletions
@@ -35,6 +35,7 @@ rm -fr $RPM_BUILD_ROOT %files %{_bindir}/funcd +%{_bindir}/func %{_bindir}/certmaster /etc/init.d/funcd /etc/init.d/certmaster diff --git a/scripts/func b/scripts/func new file mode 100755 index 0000000..2afb4e7 --- /dev/null +++ b/scripts/func @@ -0,0 +1,14 @@ +#!/usr/bin/python + +import sys +import distutils.sysconfig + +# sys.path.append("%s/func" % distutils.sysconfig.get_python_lib()) + +import func.overlord.client as client + +myname, argv = sys.argv[0], sys.argv[1:] +cli = client.FuncCommandLine(myname, argv) +cli.run() + + @@ -39,7 +39,7 @@ if __name__ == "__main__": author_email = "func-list@redhat.com", url = "https://hosted.fedoraproject.org/projects/func/", license = "GPL", - scripts = ["scripts/funcd", "scripts/certmaster"], + scripts = ["scripts/funcd", "scripts/func", "scripts/certmaster"], # package_data = { '' : ['*.*'] }, package_dir = {"%s" % NAME: "%s" % NAME, "%s/minion" % NAME: "minion/", |