X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=setup.py;h=2a1fcdf1c3ca925ab82864b8c0dd30613f7257f7;hp=203c4054f75cfae289c0102d5ad41226ae98ea5d;hb=4575d4c9942579a235eb7b46a726ddcd557a2edd;hpb=9713ae6bad871bc151d378d3d837f09d6e646832 diff --git a/setup.py b/setup.py index 203c405..2a1fcdf 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from distutils.core import setup #from setuptools import setup,find_packages NAME = "certmaster" -VERSION = open("version", "r+").read().split()[0] +VERSION = "0.24" SHORT_DESC = "%s remote configuration and management api" % NAME LONG_DESC = """ A small pluggable xml-rpc daemon used by %s to implement various web services hooks @@ -18,6 +18,7 @@ if __name__ == "__main__": initpath = "/etc/init.d/" logpath = "/var/log/%s/" % NAME certdir = "/var/lib/%s/" % NAME + trigpath = "/var/lib/%s/triggers/"% NAME pkipath = "/etc/pki/%s" % NAME rotpath = "/etc/logrotate.d" aclpath = "%s/minion-acl.d" % etcpath @@ -25,19 +26,17 @@ if __name__ == "__main__": name="%s" % NAME, version = VERSION, author = "Lots", - author_email = "certmaster-list@redhat.com", - url = "https://hosted.fedoraproject.org/projects/certmaster/", + author_email = "func-list@redhat.com", + url = "https://fedorahosted.org/certmaster/", license = "GPL", scripts = [ "scripts/certmaster", "scripts/certmaster-ca", - "scripts/certmaster-request", + "scripts/certmaster-request", "scripts/certmaster-sync", ], # package_data = { '' : ['*.*'] }, package_dir = {"%s" % NAME: "%s" % NAME }, packages = ["%s" % NAME, - "%s/minion" % NAME, - "%s/overlord" % NAME, ], data_files = [(initpath, ["init-scripts/certmaster"]), (etcpath, ["etc/minion.conf"]), @@ -45,12 +44,20 @@ if __name__ == "__main__": (manpath, ["docs/certmaster.1.gz"]), (manpath, ["docs/certmaster-request.1.gz"]), (manpath, ["docs/certmaster-ca.1.gz"]), + (manpath, ["docs/certmaster-sync.1.gz"]), (rotpath, ['etc/certmaster_rotate']), (logpath, []), (certdir, []), (etcpath, []), (pkipath, []), - (aclpath, []) + (aclpath, []), + ("%s/peers" % certdir, []), + ("%s/sign/pre/" % trigpath, []), + ("%s/sign/post/" % trigpath, []), + ("%s/remove/pre/" % trigpath, []), + ("%s/remove/post/" % trigpath, []), + ("%s/request/pre/" % trigpath, []), + ("%s/request/post/" % trigpath, []), ], description = SHORT_DESC, long_description = LONG_DESC