From 3dd612c307ed7ac11e294466eaef8ffe86b5c8ff Mon Sep 17 00:00:00 2001 From: Tsuyoshi Hombashi Date: Sun, 13 Aug 2017 07:12:17 +0900 Subject: [PATCH] Try to fix README for PyPI --- README.rst | 10 +++++----- docs/pages/introduction/usage.txt | 10 +++++----- setup.py | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index 8cac191..a37d342 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ Usage Type Check Method ---------------------- :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer(1).is_type() @@ -64,7 +64,7 @@ Type Check Method Type Validation Method -------------------------------------------- :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer(1).validate() @@ -82,7 +82,7 @@ Type Conversion Methods convert method ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> from typepy import TypeConversionError @@ -98,7 +98,7 @@ convert method try_convert method ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer("1").try_convert() @@ -109,7 +109,7 @@ try_convert method force_convert ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer("1").force_convert() # force_convert() forcibly convert the value diff --git a/docs/pages/introduction/usage.txt b/docs/pages/introduction/usage.txt index 83e1dc4..31ae0c2 100644 --- a/docs/pages/introduction/usage.txt +++ b/docs/pages/introduction/usage.txt @@ -1,7 +1,7 @@ Type Check Method ---------------------- :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer(1).is_type() @@ -13,7 +13,7 @@ Type Check Method Type Validation Method -------------------------------------------- :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer(1).validate() @@ -31,7 +31,7 @@ Type Conversion Methods convert method ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> from typepy import TypeConversionError @@ -47,7 +47,7 @@ convert method try_convert method ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer("1").try_convert() @@ -58,7 +58,7 @@ try_convert method force_convert ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Examples: - .. code:: pycon + .. code-block:: pycon >>> from typepy.type import Integer >>> Integer("1").force_convert() # force_convert() forcibly convert the value diff --git a/setup.py b/setup.py index b52627c..9ee7a85 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ setuptools.setup( name=MODULE_NAME, - version="0.0.18", + version="0.0.19", url="https://github.com/thombashi/{:s}".format(MODULE_NAME), author="Tsuyoshi Hombashi",