Source

setuptools_hg / setup.py

import codecs
from os import path
from setuptools import setup

read = lambda name: codecs.open(path.join(path.abspath(path.dirname(__file__)), name)).read()

setup(
    name="setuptools_hg",
    version='0.2.2',
    author="Jannis Leidel",
    author_email="jannis@leidel.info",
    url="http://bitbucket.org/jezdez/setuptools_hg/",
    download_url="http://bitbucket.org/jezdez/setuptools_hg/downloads/",
    description="Setuptools/distribute plugin for finding files under Mercurial version control.",
    long_description=read("README.rst"),
    license="GPL2",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Programming Language :: Python",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "License :: OSI Approved :: GNU General Public License (GPL)",
        "Topic :: Software Development :: Version Control",
        "Framework :: Setuptools Plugin",
    ],
    py_modules=["setuptools_hg"],
    entry_points={
        "setuptools.file_finders": [
            "hg = setuptools_hg:hg_file_finder"
        ]
    }
)