comparison setup.py @ 320:1ba8ed29148e

Fix package name, use README for long_description
author Augie Fackler <durin42@gmail.com>
date Sun, 03 May 2009 22:01:23 -0500
parents 0291afdd7555
children 46e69be8e2c8
comparison
equal deleted inserted replaced
319:9c10656ce71e 320:1ba8ed29148e
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3 import os
4 import sys 4 import sys
5 if not hasattr(sys, 'version_info') or sys.version_info < (2, 4, 0, 'final'): 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.") 6 raise SystemExit("Mercurial requires python 2.4 or later.")
7
8 from __init__ import __doc__
9 7
10 try: 8 try:
11 from distutils.command.build_py import build_py_2to3 as build_py 9 from distutils.command.build_py import build_py_2to3 as build_py
12 except ImportError: 10 except ImportError:
13 from distutils.command.build_py import build_py 11 from distutils.command.build_py import build_py
14 from distutils.core import setup 12 from distutils.core import setup
15 13
16 setup( 14 setup(
17 name = 'HgSubversion', 15 name = 'hgsubversion',
18 version = '0.0.1', 16 version = '0.0.1',
19 url = 'http://bitbucket.org/durin42/hgsubversion', 17 url = 'http://bitbucket.org/durin42/hgsubversion',
20 license = 'GNU GPL', 18 license = 'GNU GPL',
21 author = 'Augie Fackler, others', 19 author = 'Augie Fackler, others',
22 author_email = 'hgsubversion@googlegroups.com', 20 author_email = 'hgsubversion@googlegroups.com',
23 description = ('hgsubversion is a Mercurial extension for working with ' 21 description = ('hgsubversion is a Mercurial extension for working with '
24 'Subversion repositories.'), 22 'Subversion repositories.'),
25 long_description = __doc__, 23 long_description = open(os.path.join(os.path.dirname(__file__),
24 'README')).read(),
26 keywords = 'mercurial', 25 keywords = 'mercurial',
27 packages = ['hgext.hgsubversion', 'hgext.hgsubversion.svnwrap'], 26 packages = ['hgext.hgsubversion', 'hgext.hgsubversion.svnwrap'],
28 package_dir = {'hgext.hgsubversion': ''}, 27 package_dir = {'hgext.hgsubversion': ''},
29 platforms = 'any', 28 platforms = 'any',
30 classifiers = [ 29 classifiers = [