From 20706f20512c143c3bcb1fbdcd729e57f4a3a82f Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Tue, 22 Jun 2010 19:46:25 +0200 Subject: Renamed readme --- MANIFEST.in | 2 +- README | 11 ----------- README.rst | 11 +++++++++++ setup.py | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 README create mode 100644 README.rst diff --git a/MANIFEST.in b/MANIFEST.in index e659871..d50e4e0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,2 @@ -include LICENSE README AUTHORS +include LICENSE README.rst AUTHORS recursive-include markupsafe *.c diff --git a/README b/README deleted file mode 100644 index e6c9de0..0000000 --- a/README +++ /dev/null @@ -1,11 +0,0 @@ -MarkupSafe -========== - -Implements a unicode subclass that supports HTML strings: - ->>> from markupsafe import Markup, escape ->>> escape("") -Markup(u'<script>alert(document.cookie);</script>') ->>> tmpl = Markup("%s") ->>> tmpl % "Peter > Lustig" -Markup(u'Peter > Lustig') diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..e6c9de0 --- /dev/null +++ b/README.rst @@ -0,0 +1,11 @@ +MarkupSafe +========== + +Implements a unicode subclass that supports HTML strings: + +>>> from markupsafe import Markup, escape +>>> escape("") +Markup(u'<script>alert(document.cookie);</script>') +>>> tmpl = Markup("%s") +>>> tmpl % "Peter > Lustig" +Markup(u'Peter > Lustig') diff --git a/setup.py b/setup.py index 8bd8164..3bb9648 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ class ve_build_ext(build_ext): raise BuildFailed() -description = open(os.path.join(os.path.dirname(__file__), 'README')).read() +readme = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() def run_setup(with_binary): @@ -60,7 +60,7 @@ def run_setup(with_binary): author='Armin Ronacher', author_email='armin.ronacher@active-4.com', description='Implements a XML/HTML/XHTML Markup safe string for Python', - long_description=description, + long_description=readme, zip_safe=False, classifiers=[ 'Development Status :: 5 - Production/Stable', -- cgit v1.2.1