Mercurial > public > mercurial-scm > evolve
view setup.py @ 1929:99f983e8e18f
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.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 28 Mar 2016 00:50:36 -0700 |
parents | 769b2b271422 |
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, )