Handle --create via optparse.
[cvs2svn.git] / setup.py
blobdb72f68776a2b9836c6384c49bcd01d20813f53a
1 #!/usr/bin/env python
3 import sys
4 from distutils.core import setup
6 assert 0x02040000 <= sys.hexversion < 0x03000000, \
7 "Install Python 2, version 2.4 or greater"
10 def get_version():
11 "Return the version number of cvs2svn."
13 from cvs2svn_lib.version import VERSION
14 return VERSION
17 setup(
18 # Metadata.
19 name = "cvs2svn",
20 version = get_version(),
21 description = "CVS-to-Subversion repository converter",
22 author = "The cvs2svn Team",
23 author_email = "<dev@cvs2svn.tigris.org>",
24 url = "http://cvs2svn.tigris.org/",
25 license = "Apache-style",
26 # Data.
27 packages = ["cvs2svn_lib", "cvs2svn_rcsparse"],
28 scripts = ["cvs2svn"]