setup.py
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:45 +0100
changeset 372 80f78674c56e
parent 323 8c833ceda65a
permissions -rw-r--r--
Add support for phases This adds a "publish" permission level (between "init" and "write") required to be able to change the phase of a changeset from "draft" to "public". Update documentation accordingly. This is meant to be used for using the changeset evolution feature of mercurial, see http://evolution.experimentalworks.net/doc/

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