"Fossies" - the Fresh Open Source Software Archive 
Member "polysh-polysh-0.13/setup.py" (11 May 2020, 2716 Bytes) of package /linux/privat/polysh-polysh-0.13.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "setup.py" see the
Fossies "Dox" file reference documentation.
1 #!/usr/bin/env python3
2 """Polysh - Setup Script
3
4 Copyright (c) 2006 Guillaume Chazarain <guichaz@gmail.com>
5 Copyright (c) 2018 InnoGames GmbH
6 """
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 from setuptools import setup
21 from os import path
22 from sys import exit, version_info as PYTHON_VERSION
23 from polysh import VERSION as POLYSH_VERSION
24
25 if PYTHON_VERSION < (3, 5):
26 print('Aborting polysh installation! Polysh requires python 3.5 or later.')
27 exit(1)
28
29 # Get the long description from the README file
30 here = path.abspath(path.dirname(__file__))
31 with open(path.join(here, 'README.rst')) as file:
32 long_description = file.read()
33
34 setup(
35 name='polysh',
36 version='.'.join(str(d) for d in POLYSH_VERSION),
37 description='Control thousands of ssh sesions from a single prompt',
38 long_description=long_description,
39 url='http://github.com/innogames/polysh/',
40 maintainer='InnoGames System Administration',
41 maintainer_email='it@innogames.com',
42
43 keywords='gsh group shell cluster ssh multiplexer',
44 # For a list of valid classifiers, see https://pypi.org/classifiers/
45 classifiers=[ # Optional
46 'Intended Audience :: System Administrators',
47 'Intended Audience :: Developers',
48 'Topic :: System :: Systems Administration',
49 'Topic :: System :: Shells',
50 'Topic :: System :: Clustering',
51 'Topic :: System :: Distributed Computing',
52
53 'Environment :: Console',
54 'Operating System :: POSIX :: Linux',
55 'Operating System :: MacOS :: MacOS X',
56
57 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
58 'Development Status :: 5 - Production/Stable',
59
60 # This does not influence pip when choosing what to install. It is used
61 # for the package list on the pypi website.
62 'Programming Language :: Python :: 3',
63 'Programming Language :: Python :: 3.5',
64 'Programming Language :: Python :: 3.6',
65 ],
66 python_requires='>=3.5',
67
68 packages=['polysh'],
69 entry_points={
70 'console_scripts': [
71 'polysh=polysh.main:main',
72 ],
73 },
74 )