Skip to content

Commit 3eaa765

Browse files
committed
Include the MIT license
1 parent 889680d commit 3eaa765

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2009 Brendon Hogger
2+
3+
Permission is hereby granted, free of charge, to any person
4+
obtaining a copy of this software and associated documentation
5+
files (the "Software"), to deal in the Software without
6+
restriction, including without limitation the rights to use,
7+
copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the
9+
Software is furnished to do so, subject to the following
10+
conditions:
11+
12+
The above copyright notice and this permission notice shall be
13+
included in all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.

examples/reading/rtf15.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from pyth.plugins.rtf15.reader import Rtf15Reader
2-
from pyth.plugins.xhtml.writer import XHTMLWriter
2+
from pyth.plugins.plaintext.writer import PlaintextWriter
33

44
doc = Rtf15Reader.read(open('sample.rtf'))
55

6-
print XHTMLWriter.write(doc, pretty=True).getvalue()
6+
print PlaintextWriter.write(doc).read()
77

88

setup.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,18 @@
1010
author_email="brendonh@taizilla.com",
1111
url="http://wiki.github.com/brendonh/pyth",
1212
long_description=open('README').read(),
13+
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: MIT License",
18+
"Programming Language :: Python :: 2.5",
19+
"Programming Language :: Python :: 2.6",
20+
"Topic :: Office/Business",
21+
"Topic :: Software Development :: Libraries",
22+
"Topic :: Text Editors :: Word Processors",
23+
"Topic :: Text Processing",
24+
"Topic :: Text Processing :: Markup",
25+
"Topic :: Text Processing :: Filters",
26+
],
1327
)

0 commit comments

Comments
 (0)