Mercurial > hg-git
annotate setup.py @ 521:ea98d659fca7
dulwich: require 0.8.6 or greater
author | David M. Carr <david@carrclan.us> |
---|---|
date | Thu, 13 Sep 2012 18:43:05 -0400 |
parents | ac644c0e16d4 |
children | 3b82cf6ac73a |
rev | line source |
---|---|
253 | 1 try: |
2 from setuptools import setup | |
3 except: | |
4 from distutils.core import setup | |
5 | |
479
5c1d4311440d
submodules: only use the ordereddict backport if collections.OrderedDict is unavailable
Augie Fackler <raf@durin42.com>
parents:
477
diff
changeset
|
6 try: |
5c1d4311440d
submodules: only use the ordereddict backport if collections.OrderedDict is unavailable
Augie Fackler <raf@durin42.com>
parents:
477
diff
changeset
|
7 from collections import OrderedDict |
5c1d4311440d
submodules: only use the ordereddict backport if collections.OrderedDict is unavailable
Augie Fackler <raf@durin42.com>
parents:
477
diff
changeset
|
8 extra_req = [] |
5c1d4311440d
submodules: only use the ordereddict backport if collections.OrderedDict is unavailable
Augie Fackler <raf@durin42.com>
parents:
477
diff
changeset
|
9 except ImportError: |
5c1d4311440d
submodules: only use the ordereddict backport if collections.OrderedDict is unavailable
Augie Fackler <raf@durin42.com>
parents:
477
diff
changeset
|
10 extra_req = 'ordereddict>=1.1' |
5c1d4311440d
submodules: only use the ordereddict backport if collections.OrderedDict is unavailable
Augie Fackler <raf@durin42.com>
parents:
477
diff
changeset
|
11 |
253 | 12 setup( |
13 name='hg-git', | |
477
4665c6ba05c0
setup.py: bump version to 0.4.0 on the branch containing submodule support
Augie Fackler <raf@durin42.com>
parents:
476
diff
changeset
|
14 version='0.4.0', |
253 | 15 author='Scott Chacon', |
16 maintainer='Augie Fackler', | |
17 maintainer_email='durin42@gmail.com', | |
18 url='http://hg-git.github.com/', | |
19 description='push and pull from a Git server using Mercurial', | |
20 long_description=""" | |
21 This extension lets you communicate (push and pull) with a Git server. | |
22 This way you can use Git hosting for your project or collaborate with a | |
23 project that is in Git. A bridger of worlds, this plugin be. | |
24 """.strip(), | |
25 keywords='hg git mercurial', | |
26 license='GPLv2', | |
27 packages=['hggit'], | |
481
9df1741f3977
help: add additional help topics
David M. Carr <david@carrclan.us>
parents:
473
diff
changeset
|
28 package_data={ 'hggit': ['help/git.rst'] }, |
521
ea98d659fca7
dulwich: require 0.8.6 or greater
David M. Carr <david@carrclan.us>
parents:
490
diff
changeset
|
29 install_requires=['dulwich>=0.8.6'] + extra_req, |
253 | 30 ) |