annotate 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
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']),
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
29 ('share/doc/%s/examples' % name, glob("examples/*.py")),
a3f01c1ff7b4 installtion: install script first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
30 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])],
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 )