2009-05-03 17:29:59 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
2009-05-04 07:01:23 +04:00
|
|
|
import os
|
2009-05-03 17:29:59 +04:00
|
|
|
import sys
|
|
|
|
if not hasattr(sys, 'version_info') or sys.version_info < (2, 4, 0, 'final'):
|
|
|
|
raise SystemExit("Mercurial requires python 2.4 or later.")
|
|
|
|
|
|
|
|
try:
|
|
|
|
from distutils.command.build_py import build_py_2to3 as build_py
|
|
|
|
except ImportError:
|
|
|
|
from distutils.command.build_py import build_py
|
2009-05-25 21:44:33 +04:00
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
2009-05-03 17:29:59 +04:00
|
|
|
|
|
|
|
setup(
|
2009-05-04 07:01:23 +04:00
|
|
|
name = 'hgsubversion',
|
2009-05-03 17:29:59 +04:00
|
|
|
version = '0.0.1',
|
|
|
|
url = 'http://bitbucket.org/durin42/hgsubversion',
|
|
|
|
license = 'GNU GPL',
|
|
|
|
author = 'Augie Fackler, others',
|
|
|
|
author_email = 'hgsubversion@googlegroups.com',
|
2009-05-04 06:57:48 +04:00
|
|
|
description = ('hgsubversion is a Mercurial extension for working with '
|
|
|
|
'Subversion repositories.'),
|
2009-05-04 07:01:23 +04:00
|
|
|
long_description = open(os.path.join(os.path.dirname(__file__),
|
|
|
|
'README')).read(),
|
2009-05-03 17:29:59 +04:00
|
|
|
keywords = 'mercurial',
|
2009-05-22 17:12:31 +04:00
|
|
|
packages = ('hgsubversion', 'hgsubversion.svnwrap'),
|
2009-05-03 17:29:59 +04:00
|
|
|
platforms = 'any',
|
|
|
|
classifiers = [
|
|
|
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Topic :: Software Development :: Version Control',
|
|
|
|
'Development Status :: 2 - Pre-Alpha',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
],
|
|
|
|
cmdclass = {'build_py': build_py},
|
|
|
|
)
|