view setup.py @ 1934:9d6d30e36cdd

discovery: move to new style import This unify with the new core Mercurial usage and this will make future changes to the imports easier to track.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 30 Mar 2016 03:44:59 -0700
parents 99f983e8e18f
children 192c9f92148d
line wrap: on
line source

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