summaryrefslogtreecommitdiff
path: root/bs4
diff options
context:
space:
mode:
Diffstat (limited to 'bs4')
-rw-r--r--bs4/__init__.py6
-rw-r--r--bs4/builder/__init__.py4
-rw-r--r--bs4/builder/_html5lib.py4
-rw-r--r--bs4/builder/_htmlparser.py4
-rw-r--r--bs4/builder/_lxml.py5
-rw-r--r--bs4/dammit.py3
-rw-r--r--bs4/diagnose.py3
-rw-r--r--bs4/element.py3
-rw-r--r--bs4/testing.py3
9 files changed, 15 insertions, 20 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index ea9d9eb..db9ecf3 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -17,12 +17,10 @@ http://www.crummy.com/software/BeautifulSoup/bs4/doc/
"""
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
__author__ = "Leonard Richardson (leonardr@segfault.org)"
-__version__ = "4.6.3"
+__version__ = "4.7.0"
__copyright__ = "Copyright (c) 2004-2018 Leonard Richardson"
+# Use of this source code is governed by the MIT license.
__license__ = "MIT"
__all__ = ['BeautifulSoup']
diff --git a/bs4/builder/__init__.py b/bs4/builder/__init__.py
index 610d42f..46b28bd 100644
--- a/bs4/builder/__init__.py
+++ b/bs4/builder/__init__.py
@@ -1,5 +1,5 @@
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
+__license__ = "MIT"
from collections import defaultdict
import itertools
diff --git a/bs4/builder/_html5lib.py b/bs4/builder/_html5lib.py
index 388c3d6..2c929b9 100644
--- a/bs4/builder/_html5lib.py
+++ b/bs4/builder/_html5lib.py
@@ -1,5 +1,5 @@
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
+__license__ = "MIT"
__all__ = [
'HTML5TreeBuilder',
diff --git a/bs4/builder/_htmlparser.py b/bs4/builder/_htmlparser.py
index ee6c685..ff09ca3 100644
--- a/bs4/builder/_htmlparser.py
+++ b/bs4/builder/_htmlparser.py
@@ -1,8 +1,8 @@
# encoding: utf-8
"""Use the HTMLParser library to parse HTML files that aren't too bad."""
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
+__license__ = "MIT"
__all__ = [
'HTMLParserTreeBuilder',
diff --git a/bs4/builder/_lxml.py b/bs4/builder/_lxml.py
index 7debf56..3a1700c 100644
--- a/bs4/builder/_lxml.py
+++ b/bs4/builder/_lxml.py
@@ -1,5 +1,6 @@
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
+__license__ = "MIT"
+
__all__ = [
'LXMLTreeBuilderForXML',
'LXMLTreeBuilder',
diff --git a/bs4/dammit.py b/bs4/dammit.py
index be46b39..fb2f8b8 100644
--- a/bs4/dammit.py
+++ b/bs4/dammit.py
@@ -6,8 +6,7 @@ necessary. It is heavily based on code from Mark Pilgrim's Universal
Feed Parser. It works best on XML and HTML, but it does not rewrite the
XML or HTML to reflect a new encoding; that's the tree builder's job.
"""
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
__license__ = "MIT"
import codecs
diff --git a/bs4/diagnose.py b/bs4/diagnose.py
index 7a28c09..f9835c3 100644
--- a/bs4/diagnose.py
+++ b/bs4/diagnose.py
@@ -1,7 +1,6 @@
"""Diagnostic functions, mainly for use when doing tech support."""
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
__license__ = "MIT"
import cProfile
diff --git a/bs4/element.py b/bs4/element.py
index 97403c9..ba70b24 100644
--- a/bs4/element.py
+++ b/bs4/element.py
@@ -1,5 +1,4 @@
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
__license__ = "MIT"
try:
diff --git a/bs4/testing.py b/bs4/testing.py
index 745a9c4..13ff63f 100644
--- a/bs4/testing.py
+++ b/bs4/testing.py
@@ -1,8 +1,7 @@
# encoding: utf-8
"""Helper classes for tests."""
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
+# Use of this source code is governed by the MIT license.
__license__ = "MIT"
import pickle