| 1 | #!/usr/bin/env python |
|---|
| 2 | |
|---|
| 3 | from os import walk |
|---|
| 4 | try: |
|---|
| 5 | from setuptools import setup |
|---|
| 6 | except ImportError: |
|---|
| 7 | from distutils.core import setup |
|---|
| 8 | from vcpx.tailor import __version__ as VERSION |
|---|
| 9 | |
|---|
| 10 | setup(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="""\ |
|---|
| 20 | With its ability to "translate the history" from one VCS kind to another, |
|---|
| 21 | this script makes it easier to keep the upstream changes merged in |
|---|
| 22 | a own branch of a product. |
|---|
| 23 | |
|---|
| 24 | Tailor is able to fetch the history from Arch, Bazaar, CVS, Darcs, Monotone, |
|---|
| 25 | Perforce or Subversion and rewrite it over Aegis, Bazaar, CVS, Darcs, Git, |
|---|
| 26 | Mercurial, 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 | ) |
|---|