summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 2a05cea9f64741d20a42a85b5ecb734b00b6621d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/python

import sys
from distutils.core import setup, Extension
import string

VERSION = "0.1.0"
SHORT_DESC = "Boot server configurator"
LONG_DESC = """
Cobbler is a command line tool for simplified configuration of boot/provisioning servers.  It is also accessible as a Python library.  Cobbler supports PXE, Xen, and re-provisioning an existing Linux system via auto-kickstart.  The last two modes require 'koan' to be run on the remote system.

"""

if __name__ == "__main__":
        # docspath="share/doc/koan-%s/" % VERSION
        manpath="share/man/man1/"
        etcpath="etc/"
        setup(
                name="cobbler",
                version = VERSION,
                author = "Michael DeHaan",
                author_email = "mdehaan@redhat.com",
                # FIXME: lame, this should point to a real cobbler webpage
                url = "http://bugzilla.redhat.com",
                license = "GPL",
                packages = ["cobbler"],
                scripts = ["cobbler/cobbler"],
                data_files = [
                                # (docspath, ['README']),
                                (manpath, ['cobbler.1.gz'])
                                (etcpath, ['cobbler.conf'])
                             ],
                description = SHORT_DESC,
                long_description = LONG_DESC
        )