comparison setup.py @ 353:1ad05cffb20f

setup.py: Use setuptools if available.
author Augie Fackler <durin42@gmail.com>
date Mon, 25 May 2009 12:44:33 -0500
parents 537de0300510
children ac9c9e1a8022
comparison
equal deleted inserted replaced
352:cc7a10efddc9 353:1ad05cffb20f
7 7
8 try: 8 try:
9 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
10 except ImportError: 10 except ImportError:
11 from distutils.command.build_py import build_py 11 from distutils.command.build_py import build_py
12 from distutils.core import setup 12 try:
13 from setuptools import setup
14 except ImportError:
15 from distutils.core import setup
13 16
14 setup( 17 setup(
15 name = 'hgsubversion', 18 name = 'hgsubversion',
16 version = '0.0.1', 19 version = '0.0.1',
17 url = 'http://bitbucket.org/durin42/hgsubversion', 20 url = 'http://bitbucket.org/durin42/hgsubversion',