setup.py
author Paul Crowley <paul@lshift.net>
Mon, 09 Nov 2009 15:52:32 +0000
changeset 169 6b34a5421330
parent 168 f9bf8f84df7f
child 177 fb6587ce93c6
permissions -rw-r--r--
Make the build target default

# WARNING: this file is NOT meant to be directly executed, but
# run from the Makefile.

from distutils.core import setup

setup(
    name="mercurial-server",
    description="Centralized Mercurial repository manager",
    url="http://www.lshift.net/mercurial-server.html",
    version="0.6+", # FIXME: infer this
    package_dir = {'': 'src'},
    packages = ["mercurialserver"],
    requires = ["mercurial"], # FIXME: what version?
    scripts = ['src/hg-ssh', 'src/refresh-auth'],
    data_files = [
        ('init', [
            'src/init/hginit', 
            'src/init/dot-mercurial-server', 
            'src/init/hgadmin-hgrc'
        ]), ('init/conf', [
            'src/init/conf/remote-hgrc',
            'src/init/conf/access.conf',
        ]),
    ],
)