annotate setup.py @ 43:2e3add4b4f19

updated setup.py: manpage is now installed
author Goffi <goffi@goffi.org>
date Sat, 04 Jun 2011 19:44:52 +0200
parents a3f01c1ff7b4
children 1ba3aa6ec463
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 from glob import glob
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
12 name = 'gcp'
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
13
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 setup(name=name,
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15 version='0.1.2',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
16 description=u"Goffi's CoPier",
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
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',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
18 author='Goffi (Jérôme Poisson)',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
19 author_email='goffi@goffi.org',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
20 url='http://wiki.goffi.org/wiki/Gcp',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
21 classifiers=['Environment :: Console',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
22 'Intended Audience :: End Users/Desktop',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
23 'License :: OSI Approved :: GNU General Public License (GPL)',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
24 'Operating System :: POSIX :: Linux',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
25 'Programming Language :: Python',
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
26 'Topic :: Utilities'
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
27 ],
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
28 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
29 ('share/man/man1', ["gcp.1"]),
2e3add4b4f19 updated setup.py: manpage is now installed
Goffi <goffi@goffi.org>
parents: 39
diff changeset
30 ('share/doc/%s' % name, ['COPYING','README'])],
39
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
31 scripts=['gcp'],
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
32 )