X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=setup.py;h=ab2eb867a5e7a508b8195698f65bde269c22e8b4;hp=39a7ad3409fcafe4739d32dff2303eb09ec5e346;hb=1b1b6f5733d65cbb73f48ac9b4419aba3dc00eee;hpb=fd57bba2195c2b8405b6317755f6ad7030702dfc diff --git a/setup.py b/setup.py index 39a7ad3..ab2eb86 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.28" 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,9 @@ if __name__ == "__main__": initpath = "/etc/init.d/" logpath = "/var/log/%s/" % NAME certdir = "/var/lib/%s/" % NAME + certmaster_cert_dir = "/var/lib/%s/%s" % (NAME,NAME) + certmaster_cert_certs_dir = "/var/lib/%s/%s/certs" % (NAME, NAME) + certmaster_cert_csrs_dir = "/var/lib/%s/%s/csrs" % (NAME, NAME) trigpath = "/var/lib/%s/triggers/"% NAME pkipath = "/etc/pki/%s" % NAME rotpath = "/etc/logrotate.d" @@ -31,7 +34,7 @@ if __name__ == "__main__": 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 @@ -39,17 +42,23 @@ if __name__ == "__main__": packages = ["%s" % NAME, ], data_files = [(initpath, ["init-scripts/certmaster"]), - (etcpath, ["etc/minion.conf"]), - (etcpath, ["etc/certmaster.conf"]), + (etcpath, ["etc/minion.conf", + "etc/certmaster.conf", + "etc/version"]), (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, []), + (certmaster_cert_dir, []), + (certmaster_cert_certs_dir, []), + (certmaster_cert_csrs_dir, []), (etcpath, []), (pkipath, []), (aclpath, []), + ("%s/peers" % certdir, []), ("%s/sign/pre/" % trigpath, []), ("%s/sign/post/" % trigpath, []), ("%s/remove/pre/" % trigpath, []),