setup.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 28 Mar 2016 00:50:36 -0700
changeset 1929 99f983e8e18f
parent 1919 769b2b271422
child 2016 192c9f92148d
permissions -rw-r--r--
setup: make sure we use the imported module This prevent pyflakes to complains about it (and work around any possible demand import magic. I'm not sure why we do this important dance at all, but I'm leaving it there in doubt.

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,
)