comparison setup.py @ 553:97f2079e3778 1.0

setup: updates for release
author Augie Fackler <durin42@gmail.com>
date Sun, 07 Feb 2010 03:32:30 -0600
parents 3c2f3444ffba
children c538229d02ca
comparison
equal deleted inserted replaced
552:2d44461e8617 553:97f2079e3778
86 from hgsubversion import __version__ 86 from hgsubversion import __version__
87 version = __version__.version 87 version = __version__.version
88 except ImportError: 88 except ImportError:
89 version = 'unknown' 89 version = 'unknown'
90 90
91 try:
92 from svn import core
93 assert core.SVN_VER_MAJOR == 1
94 assert core.SVN_VER_MINOR >= 5
95 except ImportError:
96 raise Exception('You need to install the SWIG'
97 ' bindings for Subversion to use this package.')
98 except AssertionError:
99 raise Exception('You need at least Subversion 1.5 to use this package.')
100
101
91 setup( 102 setup(
92 name = 'hgsubversion', 103 name = 'hgsubversion',
93 version = version, 104 version = version,
94 url = 'http://bitbucket.org/durin42/hgsubversion', 105 url = 'http://bitbucket.org/durin42/hgsubversion',
95 license = 'GNU GPL', 106 license = 'GNU GPL',
96 author = 'Augie Fackler, others', 107 author = 'Augie Fackler, others',
97 author_email = 'hgsubversion@googlegroups.com', 108 author_email = 'durin42@gmail.com',
98 description = ('hgsubversion is a Mercurial extension for working with ' 109 description = ('hgsubversion is a Mercurial extension for working with '
99 'Subversion repositories.'), 110 'Subversion repositories.'),
100 long_description = open(os.path.join(os.path.dirname(__file__), 111 long_description = open(os.path.join(os.path.dirname(__file__),
101 'README')).read(), 112 'README')).read(),
102 keywords = 'mercurial', 113 keywords = 'mercurial',
103 packages = ('hgsubversion', 'hgsubversion.svnwrap'), 114 packages = ('hgsubversion', 'hgsubversion.svnwrap'),
104 platforms = 'any', 115 platforms = 'any',
116 install_requires=['mercurial', ],
105 classifiers = [ 117 classifiers = [
106 'License :: OSI Approved :: GNU General Public License (GPL)', 118 'License :: OSI Approved :: GNU General Public License (GPL)',
107 'Intended Audience :: Developers', 119 'Intended Audience :: Developers',
108 'Topic :: Software Development :: Version Control', 120 'Topic :: Software Development :: Version Control',
109 'Development Status :: 2 - Pre-Alpha', 121 'Development Status :: 4 - Beta',
110 'Programming Language :: Python', 122 'Programming Language :: Python',
111 'Operating System :: OS Independent', 123 'Operating System :: OS Independent',
112 ], 124 ],
113 cmdclass = {'build_py': build_py}, 125 cmdclass = {'build_py': build_py},
114 ) 126 )