diff options
author | Leonard Richardson <leonardr@segfault.org> | 2016-07-16 11:27:24 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2016-07-16 11:27:24 -0400 |
commit | b0d82663f225c501f1417bcc155c156327134404 (patch) | |
tree | 6b2dfccc5f4735e766a2afbe40e2e47b090aaddd | |
parent | 39aa1d181f9d097dc184c32551a9d0478d5b3149 (diff) |
Rename COPYING.txt to LICENSE. Add a reference to LICENSE in every source file.
-rw-r--r-- | LICENSE (renamed from COPYING.txt) | 2 | ||||
-rw-r--r-- | bs4/__init__.py | 7 | ||||
-rw-r--r-- | bs4/builder/__init__.py | 3 | ||||
-rw-r--r-- | bs4/builder/_html5lib.py | 3 | ||||
-rw-r--r-- | bs4/builder/_htmlparser.py | 3 | ||||
-rw-r--r-- | bs4/builder/_lxml.py | 2 | ||||
-rw-r--r-- | bs4/dammit.py | 2 | ||||
-rw-r--r-- | bs4/diagnose.py | 2 | ||||
-rw-r--r-- | bs4/element.py | 2 | ||||
-rw-r--r-- | bs4/testing.py | 2 |
10 files changed, 25 insertions, 3 deletions
@@ -1,6 +1,6 @@ Beautiful Soup is made available under the MIT license: - Copyright (c) 2004-2015 Leonard Richardson + Copyright (c) 2004-2016 Leonard Richardson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/bs4/__init__.py b/bs4/__init__.py index d35f765..efcc457 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -16,9 +16,12 @@ documentation: 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.4.0" -__copyright__ = "Copyright (c) 2004-2015 Leonard Richardson" +__version__ = "4.5.0" +__copyright__ = "Copyright (c) 2004-2016 Leonard Richardson" __license__ = "MIT" __all__ = ['BeautifulSoup'] diff --git a/bs4/builder/__init__.py b/bs4/builder/__init__.py index f8fce56..f444edd 100644 --- a/bs4/builder/__init__.py +++ b/bs4/builder/__init__.py @@ -1,3 +1,6 @@ +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + from collections import defaultdict import itertools import sys diff --git a/bs4/builder/_html5lib.py b/bs4/builder/_html5lib.py index 8725a65..7c79849 100644 --- a/bs4/builder/_html5lib.py +++ b/bs4/builder/_html5lib.py @@ -1,3 +1,6 @@ +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + __all__ = [ 'HTML5TreeBuilder', ] diff --git a/bs4/builder/_htmlparser.py b/bs4/builder/_htmlparser.py index 0101d64..823ca15 100644 --- a/bs4/builder/_htmlparser.py +++ b/bs4/builder/_htmlparser.py @@ -1,5 +1,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. + __all__ = [ 'HTMLParserTreeBuilder', ] diff --git a/bs4/builder/_lxml.py b/bs4/builder/_lxml.py index 9e8f88f..bfec582 100644 --- a/bs4/builder/_lxml.py +++ b/bs4/builder/_lxml.py @@ -1,3 +1,5 @@ +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. __all__ = [ 'LXMLTreeBuilderForXML', 'LXMLTreeBuilder', diff --git a/bs4/dammit.py b/bs4/dammit.py index 636f81b..c6c71ff 100644 --- a/bs4/dammit.py +++ b/bs4/dammit.py @@ -6,6 +6,8 @@ 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. __license__ = "MIT" from pdb import set_trace diff --git a/bs4/diagnose.py b/bs4/diagnose.py index c04d23c..cda2f01 100644 --- a/bs4/diagnose.py +++ b/bs4/diagnose.py @@ -1,5 +1,7 @@ """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. __license__ = "MIT" import cProfile diff --git a/bs4/element.py b/bs4/element.py index ecf2b28..872ebf6 100644 --- a/bs4/element.py +++ b/bs4/element.py @@ -1,3 +1,5 @@ +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. __license__ = "MIT" from pdb import set_trace diff --git a/bs4/testing.py b/bs4/testing.py index 7ba54ab..4af16f6 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -1,5 +1,7 @@ """Helper classes for tests.""" +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. __license__ = "MIT" import pickle |