2 # -*- coding: utf-8 -*-
5 """Last File Manager is a simple but powerful file manager for the UNIX console
6 It has been developed with the ol' good Midnight Commander as model."""
9 from distutils
.core
import setup
13 DOC_FILES
= ['COPYING', 'README', 'README.pyview', 'NEWS', 'TODO', 'ChangeLog']
14 MAN_FILES
= ['lfm.1', 'pyview.1']
17 Development Status :: 5 - Production/Stable
18 Environment :: Console :: Curses
19 Intended Audience :: End Users/Desktop
20 Intended Audience :: System Administrators
21 License :: OSI Approved :: GNU General Public License (GPL)
22 Natural Language :: English
23 Operating System :: POSIX
24 Operating System :: Unix
25 Programming Language :: Python
26 Topic :: Desktop Environment :: File Managers
27 Topic :: System :: Filesystems
28 Topic :: System :: Shells
29 Topic :: System :: System Shells
33 doclines
= __doc__
.split("\n")
37 if sys
.version_info
< (2, 3):
40 if kwargs
.has_key("classifiers"):
41 del kwargs
["classifiers"]
48 description
= doclines
[0],
49 long_description
= '\n'.join(doclines
[2:]),
50 author
= 'IƱigo Serna',
51 author_email
= 'inigoserna@telefonica.net',
52 url
= 'http://www.terra.es/personal7/inigoserna/lfm',
54 classifiers
= filter(None, classifiers
.split("\n")),
55 py_modules
= ['lfm/__init__', 'lfm/lfm', 'lfm/messages', 'lfm/files',
56 'lfm/actions', 'lfm/compress', 'lfm/utils', 'lfm/vfs',
57 'lfm/config', 'lfm/pyview'],
58 scripts
= ['lfm/lfm', 'lfm/pyview'],
59 data_files
= [('share/doc/lfm', DOC_FILES
),
60 ('share/man/man1', MAN_FILES
)]
65 # import os, os.path, sys
66 # from distutils.sysconfig import get_python_lib
67 # os.symlink(os.path.join(get_python_lib(), 'lfm/lfm.py'),
68 # os.path.join(sys.exec_prefix, 'bin/lfm'))