comparison setup.py @ 316:c3c647aff97c

Merge with danchr's changes.
author Augie Fackler <durin42@gmail.com>
date Sun, 03 May 2009 21:44:53 -0500
parents 41aa4c3f789e
children 0291afdd7555
comparison
equal deleted inserted replaced
315:963d27a0b1c2 316:c3c647aff97c
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 import sys
5 if not hasattr(sys, 'version_info') or sys.version_info < (2, 4, 0, 'final'):
6 raise SystemExit("Mercurial requires python 2.4 or later.")
7
8 from __init__ import __doc__
9
10 try:
11 from distutils.command.build_py import build_py_2to3 as build_py
12 except ImportError:
13 from distutils.command.build_py import build_py
14 from distutils.core import setup
15
16 setup(
17 name = 'HgSubversion',
18 version = '0.0.1',
19 url = 'http://bitbucket.org/durin42/hgsubversion',
20 license = 'GNU GPL',
21 author = 'Augie Fackler, others',
22 author_email = 'hgsubversion@googlegroups.com',
23 description = 'HgSubversion is a Mercurial extension for working with '
24 'Subversion repositories.',
25 long_description = __doc__,
26 keywords = 'mercurial',
27 packages = ['hgext.hgsubversion', 'hgext.hgsubversion.svnwrap'],
28 package_dir = {'hgext.hgsubversion': ''},
29 platforms = 'any',
30 classifiers = [
31 'License :: OSI Approved :: GNU General Public License (GPL)',
32 'Intended Audience :: Developers',
33 'Topic :: Software Development :: Version Control',
34 'Development Status :: 2 - Pre-Alpha',
35 'Programming Language :: Python',
36 'Operating System :: OS Independent',
37 ],
38 cmdclass = {'build_py': build_py},
39 )