equal
deleted
inserted
replaced
1 # Copied from histedit setup.py |
1 # Copied from histedit setup.py |
2 # Credit to Augie Fackler <durin42@gmail.com> |
2 # Credit to Augie Fackler <durin42@gmail.com> |
3 |
3 |
4 from distutils.core import setup |
4 from distutils.core import setup |
5 |
|
6 requires = [] |
|
7 try: |
|
8 import mercurial |
|
9 except ImportError: |
|
10 requires.append('mercurial') |
|
11 |
5 |
12 setup( |
6 setup( |
13 name='hg-evolve', |
7 name='hg-evolve', |
14 version='0.1.0', |
8 version='0.1.0', |
15 author='Pierre-Yves David', |
9 author='Pierre-Yves David', |
19 description='Flexible evolution of Mercurial history.', |
13 description='Flexible evolution of Mercurial history.', |
20 long_description=open('README').read(), |
14 long_description=open('README').read(), |
21 keywords='hg mercurial', |
15 keywords='hg mercurial', |
22 license='GPLv2+', |
16 license='GPLv2+', |
23 py_modules=['hgext.evolve'], |
17 py_modules=['hgext.evolve'], |
24 install_requires=requires, |
|
25 ) |
18 ) |