setup.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Sat, 12 Mar 2016 12:36:25 +0000
changeset 1878 c44f161575ba
parent 1839 1bc5e62fc0c7
child 1901 85390446f8c1
permissions -rw-r--r--
compat: adapt to change in mercurial core The code around merge destination have been changed in core, we do some basic adaptation to make sure we don't crash. Further rework to adapt//take advantage of core change would probably be useful but this is not the point of this commit.

from distutils.core import setup

requires = []
try:
    import mercurial
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').read(),
    keywords='hg mercurial',
    license='GPLv2+',
    py_modules=['src'],
    install_requires=requires,
)