aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2011-11-28 01:45:09 +0100
committerMartin Vilcans <martin@librador.com>2011-11-28 01:52:32 +0100
commitc905367fa8befa4998926e2a1bf3a8bce968e8d2 (patch)
tree7b17d357794ec6237d837285fa85491024cbbc0b
parente70de69db36be431e27ed918bf67639027c8e8f3 (diff)
downloadscreenplain-c905367fa8befa4998926e2a1bf3a8bce968e8d2.tar.gz
Added licensing information (MIT license)
-rw-r--r--COPYING18
-rw-r--r--README.markdown7
-rw-r--r--screenplain/export/fdx.py4
-rw-r--r--screenplain/export/html.py4
-rw-r--r--screenplain/export/pdf.py4
-rw-r--r--screenplain/export/text.py4
-rw-r--r--screenplain/format.py4
-rw-r--r--screenplain/main.py4
-rw-r--r--screenplain/parsers/spmd.py4
-rw-r--r--screenplain/richstring.py4
-rw-r--r--screenplain/types.py4
-rw-r--r--tests/fdx_test.py4
-rw-r--r--tests/richstring_test.py4
-rw-r--r--tests/spmd_test.py4
14 files changed, 73 insertions, 0 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..e2e2728
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,18 @@
+Copyright (c) 2011 Martin Vilcans
+
+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.
diff --git a/README.markdown b/README.markdown
index 120c2ef..ac1049f 100644
--- a/README.markdown
+++ b/README.markdown
@@ -41,6 +41,13 @@ Input format
The input to Screenplain is *Screenplay Markdown* as [proposed by Stu Maschwitz](http://prolost.com/storage/downloads/spmd/SPMD_proposal.html).
+
+License
+=======
+
+Screenplain is released under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
+
+
Developing
==========
diff --git a/screenplain/export/fdx.py b/screenplain/export/fdx.py
index 7bd9cfe..2c4b92a 100644
--- a/screenplain/export/fdx.py
+++ b/screenplain/export/fdx.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
from xml.sax.saxutils import escape
from screenplain.types import *
diff --git a/screenplain/export/html.py b/screenplain/export/html.py
index a27d989..3d04106 100644
--- a/screenplain/export/html.py
+++ b/screenplain/export/html.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
from __future__ import with_statement
import sys
import re
diff --git a/screenplain/export/pdf.py b/screenplain/export/pdf.py
index eca7cac..3e9fa70 100644
--- a/screenplain/export/pdf.py
+++ b/screenplain/export/pdf.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
#!/usr/bin/python
import fileinput
from reportlab.pdfgen import canvas
diff --git a/screenplain/export/text.py b/screenplain/export/text.py
index bb7d604..fe3bcb3 100644
--- a/screenplain/export/text.py
+++ b/screenplain/export/text.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import sys
import codecs
from screenplain.format import get_pages
diff --git a/screenplain/format.py b/screenplain/format.py
index be5298b..5d698f6 100644
--- a/screenplain/format.py
+++ b/screenplain/format.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
# Numbers from http://www.emacswiki.org/emacs/ScreenPlay
# According to http://johnaugust.com/2004/how-many-lines-per-page
lines_per_page = 56
diff --git a/screenplain/main.py b/screenplain/main.py
index b6d8aea..c005504 100644
--- a/screenplain/main.py
+++ b/screenplain/main.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import fileinput
import sys
import codecs
diff --git a/screenplain/parsers/spmd.py b/screenplain/parsers/spmd.py
index 39e6b50..76d50c4 100644
--- a/screenplain/parsers/spmd.py
+++ b/screenplain/parsers/spmd.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import itertools
import re
diff --git a/screenplain/richstring.py b/screenplain/richstring.py
index 8392f5d..31dfa53 100644
--- a/screenplain/richstring.py
+++ b/screenplain/richstring.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import re
import cgi
diff --git a/screenplain/types.py b/screenplain/types.py
index 1a82f5a..985d7cc 100644
--- a/screenplain/types.py
+++ b/screenplain/types.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import textwrap
diff --git a/tests/fdx_test.py b/tests/fdx_test.py
index c9cd387..1aceb3a 100644
--- a/tests/fdx_test.py
+++ b/tests/fdx_test.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import unittest2
from StringIO import StringIO
diff --git a/tests/richstring_test.py b/tests/richstring_test.py
index 7c04368..5ce3b4e 100644
--- a/tests/richstring_test.py
+++ b/tests/richstring_test.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import unittest2
from screenplain.richstring import (
RichString, Segment,
diff --git a/tests/spmd_test.py b/tests/spmd_test.py
index 61a54ec..28078c0 100644
--- a/tests/spmd_test.py
+++ b/tests/spmd_test.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2011 Martin Vilcans
+# Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+
import unittest2
from screenplain.parsers.spmd import parse
from screenplain.types import Slug, Action, Dialog, DualDialog, Transition