setup.py
author Paul Crowley <paul@lshift.net>
Fri, 24 Aug 2012 13:49:55 +0100
changeset 365 f2e13e08ea13
parent 323 8c833ceda65a
permissions -rw-r--r--
Make it convenient to run the tests with new env vars in sudo

# 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.3", # 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'
        ]),
    ],
)