Initialize Ctx.*_decoder members with CVSTextDecoders.
[cvs2svn.git] / setup.py
blobf7250066776ac4cd1bfcd532bbff3e9d5f7a5b1e
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 or git repository converter",
22 author = "The cvs2svn team",
23 author_email = "dev@cvs2svn.tigris.org",
24 url = "http://cvs2svn.tigris.org/",
25 download_url = "http://cvs2svn.tigris.org/servlets/ProjectDocumentList?folderID=2976",
26 license = "Apache-style",
27 long_description = """cvs2svn_ is a tool for migrating a CVS repository to
28 Subversion_ or git_. The main design goals are robustness and 100% data
29 preservation. cvs2svn can convert just about any CVS repository we've ever
30 seen, including gcc, Mozilla, FreeBSD, KDE, GNOME...
32 .. _cvs2svn: http://cvs2svn.tigris.org
33 .. _Subversion: http://svn.tigris.org
34 .. _git: http://git-scm.com/
36 cvs2svn infers what happened in the history of your CVS repository and
37 replicates that history as accurately as possible in the target SCM. All
38 revisions, branches, tags, log messages, author names, and commit dates are
39 converted. cvs2svn deduces what CVS modifications were made at the same time,
40 and outputs these modifications grouped together as changesets in the target
41 SCM. cvs2svn also deals with many CVS quirks and is highly configurable.
42 See the comprehensive `feature list`_.
44 .. _feature list: http://cvs2svn.tigris.org/features.html
45 .. _documentation: http://cvs2svn.tigris.org/cvs2svn.html
47 Please read the documentation_ carefully before using cvs2svn.
50 Latest development version
51 --------------------------
53 For general use, the most recent released version of cvs2svn is usually the
54 best choice. However, if you want to use the newest cvs2svn features or if
55 you're debugging or patching cvs2svn, you might want to use the trunk version
56 (which is usually quite stable). To do so, use Subversion to check out a
57 working copy from http://cvs2svn.tigris.org/svn/cvs2svn/trunk/ using a command
58 like::
60 svn co --username=guest http://cvs2svn.tigris.org/svn/cvs2svn/trunk cvs2svn-trunk
62 (the password is empty; i.e., just press return).
63 """,
64 classifiers = [
65 'Development Status :: 5 - Production/Stable',
66 'Environment :: Console',
67 'Intended Audience :: Developers',
68 'Intended Audience :: System Administrators',
69 'License :: OSI Approved',
70 'Natural Language :: English',
71 'Operating System :: OS Independent',
72 'Programming Language :: Python :: 2',
73 'Topic :: Software Development :: Version Control',
74 'Topic :: Software Development :: Version Control :: CVS',
75 'Topic :: Utilities',
77 # Data.
78 packages = ["cvs2svn_lib", "cvs2svn_rcsparse"],
79 scripts = ["cvs2svn", "cvs2git"],