1#!/usr/bin/env python
2
3from os import walk
4try:
5        from setuptools import setup
6except ImportError:
7        from distutils.core import setup
8from vcpx.tailor import __version__ as VERSION
9
10setup(name='tailor',
11      version=VERSION,
12      author='Lele Gaifax',
13      author_email='lele@nautilus.homeip.net',
14      packages=[dirpath for dirpath, dirnames, filenames in walk('vcpx')
15                if dirpath != 'vcpx/tests' and '__init__.py' in filenames],
16      scripts=['tailor'],
17      description='A tool to migrate changesets between various kinds of '
18      'version control system.',
19      long_description="""\
20With its ability to "translate the history" from one VCS kind to another,
21this tool makes it easier to keep the upstream changes merged in
22a own branch of a product.
23
24Tailor is able to fetch the history from Arch, Bazaar, CVS, Darcs, Monotone,
25Perforce or Subversion and rewrite it over Aegis, Bazaar, CVS, Darcs, Git,
26Mercurial, Monotone and Subversion.
27""",
28      classifiers=[
29        'Development Status :: 4 - Beta',
30        'Environment :: Console',
31        'Intended Audience :: Developers',
32        'Intended Audience :: Developers',
33        'Programming Language :: Python',
34        'Operating System :: Unix',
35        'Topic :: Software Development :: Version Control',
36        'License :: GNU General Public License',
37        ]
38    )
39