hgapi /

# -*- coding: utf-8 -*- 
from setuptools import setup

    name = "hgapi",
    version = "1.0.1",
    packages = ['hgapi'],
    test_suite = "testhgapi.TestHgAPI",

    # metadata
    author = u"Fredrik Håård",
    author_email = "",
    description = "Python API to Mercurial using the command-line interface",
    license = "Do whatever you want, don't blame me",
    keywords = "mercurial api",
    url = "",   # project home page, if any
    long_description = """
hgapi is a pure-Python API to Mercurial, that uses the command-line
interface instead of the internal Mercurial API. The rationale for
this is twofold: the internal API is unstable, and it is GPL.

hgapi works for Mercurial < 1.9, and will instantly reflect any
changes to the repositiry, unlike interfaces based on the
CommandServer ( It
also has a really permissive license (do whatever you want, don't
blame me).

For example of code that uses this API, take a look at which now uses hgapi