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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
253
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
1 try:
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
2 from setuptools import setup
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
3 except:
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
4 from distutils.core import setup
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
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
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
12 setup(
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
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
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
15 author='Scott Chacon',
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
16 maintainer='Augie Fackler',
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
17 maintainer_email='durin42@gmail.com',
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
18 url='http://hg-git.github.com/',
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
19 description='push and pull from a Git server using Mercurial',
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
20 long_description="""
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
21 This extension lets you communicate (push and pull) with a Git server.
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
22 This way you can use Git hosting for your project or collaborate with a
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
23 project that is in Git. A bridger of worlds, this plugin be.
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
24 """.strip(),
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
25 keywords='hg git mercurial',
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
26 license='GPLv2',
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
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
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents:
diff changeset
30 )