effe61eb98cf1ca17793a734935da90e1e3bea65
3 from distutils
.core
import setup
4 #from setuptools import setup,find_packages
7 VERSION
= open("version", "r+").read().split()[0]
8 SHORT_DESC
= "%s remote configuration and management api" % NAME
10 A small pluggable xml-rpc daemon used by %s to implement various web services hooks
14 if __name__
== "__main__":
16 manpath
= "share/man/man1/"
17 etcpath
= "/etc/%s" % NAME
18 etcmodpath
= "/etc/%s/modules" % NAME
19 initpath
= "/etc/init.d/"
20 logpath
= "/var/log/%s/" % NAME
21 certdir
= "/var/lib/%s/certmaster" % NAME
22 pkipath
= "/etc/pki/%s" % NAME
23 rotpath
= "/etc/logrotate.d"
24 aclpath
= "%s/minion-acl.d" % etcpath
29 author_email
= "certmaster-list@redhat.com",
30 url
= "https://hosted.fedoraproject.org/projects/certmaster/",
33 "scripts/certmaster", "scripts/certmaster-ca",
34 "scripts/certmaster-request",
36 # package_data = { '' : ['*.*'] },
37 package_dir
= {"%s" % NAME
: "%s" % NAME
39 packages
= ["%s" % NAME
,
43 data_files
= [(initpath
, ["init-scripts/certmasterd"]),
44 (initpath
, ["init-scripts/certmaster"]),
45 (etcpath
, ["etc/minion.conf"]),
46 (etcpath
, ["etc/certmaster.conf"]),
48 (manpath
, ["docs/certmaster.1.gz"]),
49 (manpath
, ["docs/certmaster-inventory.1.gz"]),
50 (manpath
, ["docs/certmasterd.1.gz"]),
51 (manpath
, ["docs/certmaster.1.gz"]),
52 (manpath
, ["docs/certmaster-ca.1.gz"]),
53 (rotpath
, ['etc/certmaster_rotate']),
60 description
= SHORT_DESC
,
61 long_description
= LONG_DESC