From 6515ebfde20d4eabb7e8b4e9dbad9ff040ef0ad2 Mon Sep 17 00:00:00 2001 From: Roman Mohr Date: Wed, 20 May 2015 07:16:45 +0200 Subject: [PATCH] Prepare release 0.6.1 --- README.rst | 15 +++++---------- setup.py | 5 +++-- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/README.rst b/README.rst index 4921718..66d8f2f 100644 --- a/README.rst +++ b/README.rst @@ -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 -:Version: 0.6.0 -:Date: 2015-05-08 -:Code: https://github.com/rmohr/static3 - .. contents:: Table of Contents :backlinks: top @@ -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 ^^^^^ @@ -81,8 +76,8 @@ like this:: And the example 'index.html.kid':: - @@ -93,7 +88,7 @@ And the example 'index.html.kid':: A similar template 'index.html.genshi' for Genshi:: - @@ -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 diff --git a/setup.py b/setup.py index fb0e633..4aee1f2 100644 --- a/setup.py +++ b/setup.py @@ -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): @@ -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'),