comparison setup.py @ 39:a3f01c1ff7b4

installtion: install script first draft
author Goffi <goffi@goffi.org>
date Tue, 25 Jan 2011 16:59:18 +0100
parents
children 2e3add4b4f19
comparison
equal deleted inserted replaced
38:daa19e8abf49 39:a3f01c1ff7b4
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 from distribute_setup import use_setuptools
5 use_setuptools()
6
7 from setuptools import setup
8 import sys
9 from os import path
10 from glob import glob
11
12 name = 'gcp'
13
14 setup(name=name,
15 version='0.1.2',
16 description=u"Goffi's CoPier",
17 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',
18 author='Goffi (Jérôme Poisson)',
19 author_email='goffi@goffi.org',
20 url='http://wiki.goffi.org/wiki/Gcp',
21 classifiers=['Environment :: Console',
22 'Intended Audience :: End Users/Desktop',
23 'License :: OSI Approved :: GNU General Public License (GPL)',
24 'Operating System :: POSIX :: Linux',
25 'Programming Language :: Python',
26 'Topic :: Utilities'
27 ],
28 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/gcp.mo']),
29 ('share/doc/%s/examples' % name, glob("examples/*.py")),
30 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])],
31 scripts=['gcp'],
32 )