setup.py
author Paul Crowley <paul@lshift.net>
Sat, 18 Dec 2010 12:37:56 +0000
changeset 283 01eca64f77ab
parent 263 9f7ad3a71c90
child 311 3cbde66305e4
permissions -rw-r--r--
Break out all the stuff that needs to be different for Debian into separate files

# 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="1.1", # 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'
        ]),
    ],
)