Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed license to MIT

  • Loading branch information...
commit 935ee4d14e80899fa45bb3d9296e123f642cc413 1 parent bf5dc0f
@fritzy authored
Showing with 203 additions and 44 deletions.
  1. +19 −0 LICENSE
  2. +2 −2 setup.py
  3. +2 −14 sleekxmpp/__init__.py
  4. +2 −14 sleekxmpp/basexmpp.py
  5. +2 −14 sleekxmpp/componentxmpp.py
  6. +8 −0 sleekxmpp/exceptions.py
  7. +7 −0 sleekxmpp/stanza/__init__.py
  8. +7 −0 sleekxmpp/stanza/error.py
  9. +7 −0 sleekxmpp/stanza/htmlim.py
  10. +7 −0 sleekxmpp/stanza/iq.py
  11. +7 −0 sleekxmpp/stanza/message.py
  12. +7 −0 sleekxmpp/stanza/nick.py
  13. +7 −0 sleekxmpp/stanza/presence.py
  14. +7 −0 sleekxmpp/stanza/rootstanza.py
  15. +7 −0 sleekxmpp/stanza/roster.py
  16. +7 −0 sleekxmpp/xmlstream/filesocket.py
  17. +7 −0 sleekxmpp/xmlstream/handler/base.py
  18. +7 −0 sleekxmpp/xmlstream/handler/callback.py
  19. +7 −0 sleekxmpp/xmlstream/handler/waiter.py
  20. +7 −0 sleekxmpp/xmlstream/handler/xmlcallback.py
  21. +7 −0 sleekxmpp/xmlstream/handler/xmlwaiter.py
  22. +6 −0 sleekxmpp/xmlstream/matcher/base.py
  23. +7 −0 sleekxmpp/xmlstream/matcher/id.py
  24. +7 −0 sleekxmpp/xmlstream/matcher/many.py
  25. +7 −0 sleekxmpp/xmlstream/matcher/stanzapath.py
  26. +7 −0 sleekxmpp/xmlstream/matcher/xmlmask.py
  27. +7 −0 sleekxmpp/xmlstream/matcher/xpath.py
  28. +7 −0 sleekxmpp/xmlstream/stanzabase.py
  29. +7 −0 sleekxmpp/xmlstream/statemachine.py
  30. +8 −0 sleekxmpp/xmlstream/xmlstream.py
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2010 ICRL
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
4 setup.py
@@ -32,7 +32,7 @@
"""
CLASSIFIERS = [ 'Intended Audience :: Developers',
- 'License :: OSI Approved :: GPL v2.0',
+ 'License :: OSI Approved :: MIT',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
]
@@ -57,7 +57,7 @@
author = 'Nathanael Fritz',
author_email = 'fritzy [at] netflint.net',
url = 'http://code.google.com/p/sleekxmpp',
- license = 'GPLv2',
+ license = 'MIT',
platforms = [ 'any' ],
packages = packages,
requires = [ 'tlslite', 'pythondns' ],
View
16 sleekxmpp/__init__.py
@@ -2,22 +2,10 @@
"""
SleekXMPP: The Sleek XMPP Library
- Copyright (C) 2007 Nathanael C. Fritz
+ Copyright (C) 2010 Nathanael C. Fritz
This file is part of SleekXMPP.
- SleekXMPP 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 2 of the License, or
- (at your option) any later version.
-
- SleekXMPP 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 SleekXMPP; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ See the file license.txt for copying permission.
"""
from __future__ import absolute_import, unicode_literals
from . basexmpp import basexmpp
View
16 sleekxmpp/basexmpp.py
@@ -1,21 +1,9 @@
"""
SleekXMPP: The Sleek XMPP Library
- Copyright (C) 2007 Nathanael C. Fritz
+ Copyright (C) 2010 Nathanael C. Fritz
This file is part of SleekXMPP.
- SleekXMPP 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 2 of the License, or
- (at your option) any later version.
-
- SleekXMPP 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 SleekXMPP; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ See the file license.txt for copying permission.
"""
from __future__ import with_statement, unicode_literals
View
16 sleekxmpp/componentxmpp.py
@@ -2,22 +2,10 @@
"""
SleekXMPP: The Sleek XMPP Library
- Copyright (C) 2007 Nathanael C. Fritz
+ Copyright (C) 2010 Nathanael C. Fritz
This file is part of SleekXMPP.
- SleekXMPP 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 2 of the License, or
- (at your option) any later version.
-
- SleekXMPP 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 SleekXMPP; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ See the file license.txt for copying permission.
"""
from __future__ import absolute_import
from . basexmpp import basexmpp
View
8 sleekxmpp/exceptions.py
@@ -1,3 +1,11 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+See the file license.txt for copying permission.
+"""
+
class XMPPError(Exception):
def __init__(self, condition='undefined-condition', text=None, etype=None, extension=None, extension_ns=None, extension_args=None):
self.condition = condition
View
7 sleekxmpp/stanza/__init__.py
@@ -1 +1,8 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
__all__ = ['presence']
View
7 sleekxmpp/stanza/error.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import ElementBase, ET
class Error(ElementBase):
View
7 sleekxmpp/stanza/htmlim.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import ElementBase, ET
class HTMLIM(ElementBase):
View
7 sleekxmpp/stanza/iq.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import StanzaBase
from xml.etree import cElementTree as ET
from . error import Error
View
7 sleekxmpp/stanza/message.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import StanzaBase
from xml.etree import cElementTree as ET
from . error import Error
View
7 sleekxmpp/stanza/nick.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import ElementBase, ET
class Nick(ElementBase):
View
7 sleekxmpp/stanza/presence.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import StanzaBase
from xml.etree import cElementTree as ET
from . error import Error
View
7 sleekxmpp/stanza/rootstanza.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import StanzaBase
from xml.etree import cElementTree as ET
from . error import Error
View
7 sleekxmpp/stanza/roster.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from .. xmlstream.stanzabase import ElementBase, ET, JID
import logging
View
7 sleekxmpp/xmlstream/filesocket.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from socket import _fileobject
import socket
View
7 sleekxmpp/xmlstream/handler/base.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
class BaseHandler(object):
View
7 sleekxmpp/xmlstream/handler/callback.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . import base
import logging
View
7 sleekxmpp/xmlstream/handler/waiter.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . import base
try:
import queue
View
7 sleekxmpp/xmlstream/handler/xmlcallback.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
import threading
from . callback import Callback
View
7 sleekxmpp/xmlstream/handler/xmlwaiter.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . waiter import Waiter
class XMLWaiter(Waiter):
View
6 sleekxmpp/xmlstream/matcher/base.py
@@ -1,4 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+ See the file license.txt for copying permission.
+"""
class MatcherBase(object):
def __init__(self, criteria):
View
7 sleekxmpp/xmlstream/matcher/id.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . import base
class MatcherId(base.MatcherBase):
View
7 sleekxmpp/xmlstream/matcher/many.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . import base
from xml.etree import cElementTree
View
7 sleekxmpp/xmlstream/matcher/stanzapath.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . import base
from xml.etree import cElementTree
View
7 sleekxmpp/xmlstream/matcher/xmlmask.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . import base
from xml.etree import cElementTree
from xml.parsers.expat import ExpatError
View
7 sleekxmpp/xmlstream/matcher/xpath.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from . import base
from xml.etree import cElementTree
View
7 sleekxmpp/xmlstream/stanzabase.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from xml.etree import cElementTree as ET
import logging
import traceback
View
7 sleekxmpp/xmlstream/statemachine.py
@@ -1,3 +1,10 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
from __future__ import with_statement
import threading
View
8 sleekxmpp/xmlstream/xmlstream.py
@@ -1,3 +1,11 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2010 Nathanael C. Fritz
+ This file is part of SleekXMPP.
+
+ See the file license.txt for copying permission.
+"""
+
from __future__ import with_statement, unicode_literals
try:
import queue
Please sign in to comment.
Something went wrong with that request. Please try again.