setup.py
author Mahlon E. Smith <mahlon@martini.nu>
Tue, 24 Jul 2012 10:48:17 -0700
changeset 350 bb7ee0a13ea9
parent 323 8c833ceda65a
permissions -rw-r--r--
Allow the HOMEDIR and ETCDIR to be configurable via Makefile ENV. Add FreeBSD user creation support.

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