Skip to content

Commit

Permalink
Prepare release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rmohr committed May 20, 2015
1 parent 151b3e7 commit 6515ebf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
15 changes: 5 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ static3 - A really simple WSGI way to serve static (or mixed) content.
.. image:: https://travis-ci.org/rmohr/static3.svg?branch=master
:target: https://travis-ci.org/rmohr/static3

:Authors: Roman Mohr <roman@fenkhuber.at>
:Version: 0.6.0
:Date: 2015-05-08
:Code: https://github.com/rmohr/static3

.. contents:: Table of Contents
:backlinks: top

Expand Down Expand Up @@ -61,7 +56,7 @@ Serving compressed files
^^^^^^^^^^^^^^^^^^^^^^^^

If a gzip compressed file with the ´gz´ postfix is present, it is served, along with the corresponding headers.
So if the file 'index.html' and the file 'index.html.gz' are present, the file 'index.html.gz' is served, if the the client indicated that it supports gzipped content.
So if the file 'index.html' and the file 'index.html.gz' are present, the file 'index.html.gz' is served, if the the client indicated that it supports gzipped content.

Shock
^^^^^
Expand All @@ -81,8 +76,8 @@ like this::

And the example 'index.html.kid'::

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://purl.org/kid/ns#"
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://purl.org/kid/ns#"
xml:lang="en">
<head>
</head>
Expand All @@ -93,7 +88,7 @@ And the example 'index.html.kid'::

A similar template 'index.html.genshi' for Genshi::

<html xmlns="http://www.w3.org/1999/xhtml"
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xml:lang="en">
<head>
Expand All @@ -114,7 +109,7 @@ Unicode Support
^^^^^^^^^^^^^^^

When using a template system in Python3 it might be necessary to explicitly
set an encoding for the sites provided. This can be done via the
set an encoding for the sites provided. This can be done via the
`encoding` attribute of `Shock`::

from static import Shock
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
from setuptools.command.test import test as TestCommand
import sys


class PyTest(TestCommand):

def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['--cov', 'static' , 'tests']
self.test_args = ['--cov', 'static', 'tests']
self.test_suite = True

def run_tests(self):
Expand All @@ -46,7 +47,7 @@ def run_tests(self):


setup(name='static3',
version='0.6.0',
version='0.6.1',
description=
'A really simple WSGI way to serve static (or mixed) content.',
long_description=open('README.rst', 'rb').read().decode('utf-8'),
Expand Down

0 comments on commit 6515ebf

Please sign in to comment.