Mercurial > gcp
view setup.py @ 56:cce259fe3f35
non 0 return code on failure:
- return 2 if files have not been copied
- return 1 if file have been copied but errors occured
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 20 Jun 2011 02:57:54 +0200 |
parents | 042f598896d5 |
children | 67385805ae48 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- from distribute_setup import use_setuptools use_setuptools() from setuptools import setup import sys from os import path name = 'gcp' setup(name=name, version='0.1.2', description=u"gcp is an advanced copy tool loosely inspired from cp", long_description=u'gcp is a command-line tool to copy files, loosely inspired from cp, but with high level functionalities such as progress bar, copy continuation on error, journaling to know which files were successfuly copied, name mangling to workaround filesystem limitations (FAT), unique copy queue, copy list managemet, command arguments close to cp', author='Goffi (Jérôme Poisson)', author_email='goffi@goffi.org', url='http://wiki.goffi.org/wiki/Gcp', classifiers=['Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', 'Topic :: Utilities' ], data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/gcp.mo']), ('share/man/man1', ["gcp.1"]), ('share/doc/%s' % name, ['COPYING','README'])], scripts=['gcp'], )