forked from ghantoos/lshell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·62 lines (58 loc) · 2.51 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
#
# Copyright (C) 2008-2009 Ignace Mouzannar (ghantoos) <ghantoos@ghantoos.org>
#
# This file is part of lshell
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup
# import lshell specifics
from lshell.variables import __version__
if __name__ == '__main__':
setup(name='lshell',
version='%s' % __version__,
description='Limited Shell',
long_description="""Limited Shell (lshell) is lets you restrict the \
environment of any user. It provides an easily configurable shell: just \
choose a list of allowed commands for every limited account.""",
author='Ignace Mouzannar',
author_email='ghantoos@ghantoos.org',
maintainer='Ignace Mouzannar',
maintainer_email='ghantoos@ghantoos.org',
keywords=['limited', 'shell', 'security', 'python'],
url='https://github.com/ghantoos/lshell',
license='GPL',
platforms='UNIX',
scripts=['bin/lshell'],
package_dir={'lshell': 'lshell'},
packages=['lshell'],
data_files=[('/etc', ['etc/lshell.conf']),
('/etc/logrotate.d', ['etc/logrotate.d/lshell']),
('share/doc/lshell', ['README.md',
'COPYING',
'CHANGES']),
('share/man/man1/', ['man/lshell.1'])],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console'
'Intended Audience :: Advanced End Users',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Security',
'Topic :: System Shells',
'Topic :: Terminals'
],
)