Skip to content

Commit 7bfdc82

Browse files
committed
Updated license to LGPL - v2 only, not later versions. This resolves #5. Bumped version to 0.5
1 parent b8c7967 commit 7bfdc82

File tree

6 files changed

+460
-278
lines changed

6 files changed

+460
-278
lines changed

COPYING

Lines changed: 386 additions & 267 deletions
Large diffs are not rendered by default.

LICENSE.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
Copyright (C) 2012,2013 Panos Kittenis
2-
31
This library is free software; you can redistribute it and/or
4-
modify it under the terms of the GNU General Public
5-
License as published by the Free Software Foundation, version 2.
2+
modify it under the terms of the GNU Lesser General Public
3+
License as published by the Free Software Foundation, version 2.1.
64

75
This library is distributed in the hope that it will be useful,
86
but WITHOUT ANY WARRANTY; without even the implied warranty of
97
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10-
General Public License for more details.
8+
Lesser General Public License for more details.
119

12-
You should have received a copy of the GNU General Public
10+
You should have received a copy of the GNU Lesser General Public
1311
License along with this library; if not, write to the Free Software
1412
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

pssh.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
#!/usr/bin/env python
22

33
"""Module containing wrapper classes over paramiko.SSHClient
4-
See SSHClient and ParallelSSHClient"""
4+
See SSHClient and ParallelSSHClient
5+
6+
Copyright (C) 2014 Panos Kittenis
7+
8+
This library is free software; you can redistribute it and/or
9+
modify it under the terms of the GNU Lesser General Public
10+
License as published by the Free Software Foundation, version 2.1.
11+
12+
This library 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 GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General Public
18+
License along with this library; if not, write to the Free Software
19+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20+
"""
521

622
import gevent.pool
723
from gevent import socket

setup.py

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,33 @@
1+
"""
2+
Copyright (C) 2014 Panos Kittenis
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation, version 2.1.
7+
8+
This library is distributed in the hope that it will be useful,
9+
but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+
Lesser General Public License for more details.
12+
13+
You should have received a copy of the GNU Lesser General Public
14+
License along with this library; if not, write to the Free Software
15+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16+
"""
17+
118
from distutils.core import setup
219
from setuptools import find_packages
320

421
setup(name='parallel-ssh',
5-
version='0.4',
22+
version='0.5',
623
description='Wrapper library over paramiko to allow remote execution of tasks. Supports parallel execution on multiple hosts',
724
author='Panos Kittenis',
825
author_email='pkittenis@gmail.com',
926
url = "https://github.com/pkittenis/parallel-ssh",
1027
py_modules = ['pssh'],
1128
install_requires = ['paramiko', 'gevent'],
1229
classifiers = [
13-
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
30+
'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
1431
'Intended Audience :: Developers',
1532
'Programming Language :: Python :: 2',
1633
'Programming Language :: Python :: 2.6',

tests/test_pssh_client.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
#!/usr/bin/env python
22

3-
"""Unittests for parallel-ssh"""
3+
"""Unittests for parallel-ssh
4+
5+
Copyright (C) 2014 Panos Kittenis
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation, version 2.1.
10+
11+
This library is distributed in the hope that it will be useful,
12+
but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14+
Lesser General Public License for more details.
15+
16+
You should have received a copy of the GNU Lesser General Public
17+
License along with this library; if not, write to the Free Software
18+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19+
"""
420

521
import unittest
622
from pssh import ParallelSSHClient, UnknownHostException, \

tests/test_ssh_client.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
#!/usr/bin/env python
22

3-
"""Unittests for parallel-ssh"""
3+
"""Unittests for parallel-ssh
4+
5+
Copyright (C) 2014 Panos Kittenis
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation, version 2.1.
10+
11+
This library is distributed in the hope that it will be useful,
12+
but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14+
Lesser General Public License for more details.
15+
16+
You should have received a copy of the GNU Lesser General Public
17+
License along with this library; if not, write to the Free Software
18+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19+
"""
420

521
import unittest
622
from pssh import SSHClient, ParallelSSHClient, UnknownHostException, AuthenticationException, _setup_logger, logger

0 commit comments

Comments
 (0)