Mercurial > gcp
annotate setup.py @ 53:24811d2cee66
Added tag gcp v0.1.2 for changeset b5c525dfec33
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 16 Jun 2011 15:40:34 +0200 |
parents | 1ba3aa6ec463 |
children | 042f598896d5 |
rev | line source |
---|---|
39
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 #!/usr/bin/env python |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 from distribute_setup import use_setuptools |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 use_setuptools() |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 from setuptools import setup |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 import sys |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 from os import path |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 name = 'gcp' |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 setup(name=name, |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 version='0.1.2', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 description=u"Goffi's CoPier", |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 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', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 author='Goffi (Jérôme Poisson)', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 author_email='goffi@goffi.org', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 url='http://wiki.goffi.org/wiki/Gcp', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 classifiers=['Environment :: Console', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 'Intended Audience :: End Users/Desktop', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 'License :: OSI Approved :: GNU General Public License (GPL)', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 'Operating System :: POSIX :: Linux', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 'Programming Language :: Python', |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
25 'Topic :: Utilities' |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
26 ], |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
27 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/gcp.mo']), |
43
2e3add4b4f19
updated setup.py: manpage is now installed
Goffi <goffi@goffi.org>
parents:
39
diff
changeset
|
28 ('share/man/man1', ["gcp.1"]), |
2e3add4b4f19
updated setup.py: manpage is now installed
Goffi <goffi@goffi.org>
parents:
39
diff
changeset
|
29 ('share/doc/%s' % name, ['COPYING','README'])], |
39
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
30 scripts=['gcp'], |
a3f01c1ff7b4
installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
31 ) |