setup.py
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Sat, 13 Aug 2016 00:13:05 +0200
changeset 1974 20fb4195bfc4
parent 1929 99f983e8e18f
child 2016 192c9f92148d
permissions -rw-r--r--
topic: extract the code listing all topics The code will become more complexe with formatter support and additional data in the verbose output. We extract the code in its own function first.

from distutils.core import setup

requires = []
try:
    import mercurial
    mercurial.__all__
except ImportError:
    requires.append('mercurial')

setup(
    name='hg-topics',
    version='1.0.0',
    author='Augie Fackler',
    maintainer='Augie Fackler',
    maintainer_email='augie@google.com',
    url='http://bitbucket.org/durin42/hg-topics/',
    description=('Experimental tinkering with workflow ideas '
                 'for topic branches.'),
    long_description=open('README.md').read(),
    keywords='hg mercurial',
    license='GPLv2+',
    packages=['hgext3rd.topic'],
    install_requires=requires,
)