annotate setup.py @ 55:98a879663e27

gcp DIR1 DIR2 better handling: - gcp DIR1 DIR2 where DIR2 exists is fixed - special case gcp DIR1 DIR2 where DIR2 doesn't exist managed - comments update - refactore source_path in source_dir
author Goffi <goffi@goffi.org>
date Mon, 20 Jun 2011 01:27:31 +0200
parents 042f598896d5
children 67385805ae48
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
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',
54
042f598896d5 setup's description update, needed for pypi
Goffi <goffi@goffi.org>
parents: 51
diff changeset
15 description=u"gcp is an advanced copy tool loosely inspired from cp",
39
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 )