setup.py
author Paul Crowley <paul@lshift.net>
Mon, 09 Nov 2009 17:01:28 +0000
branchdebian
changeset 175 9d791c7bcdda
parent 168 f9bf8f84df7f
child 177 fb6587ce93c6
permissions -rw-r--r--
Ignore debian files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
168
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
# WARNING: this file is NOT meant to be directly executed, but
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
# run from the Makefile.
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
from distutils.core import setup
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     5
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     6
setup(
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     7
    name="mercurial-server",
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     8
    description="Centralized Mercurial repository manager",
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     9
    url="http://www.lshift.net/mercurial-server.html",
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    10
    version="0.6+", # FIXME: infer this
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    11
    package_dir = {'': 'src'},
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    12
    packages = ["mercurialserver"],
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    13
    requires = ["mercurial"], # FIXME: what version?
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    14
    scripts = ['src/hg-ssh', 'src/refresh-auth'],
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    15
    data_files = [
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    16
        ('init', [
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    17
            'src/init/hginit', 
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    18
            'src/init/dot-mercurial-server', 
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    19
            'src/init/hgadmin-hgrc'
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    20
        ]), ('init/conf', [
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    21
            'src/init/conf/remote-hgrc',
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    22
            'src/init/conf/access.conf',
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    23
        ]),
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    24
    ],
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    25
)
f9bf8f84df7f Kill install in favour of setup.py and Makefile
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    26