From: DongHun Kwak Date: Mon, 18 Jul 2022 05:42:33 +0000 (+0900) Subject: Imported Upstream version 2.4.5 X-Git-Tag: upstream/2.4.5^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=243bc3f3ba9d0d311f2b9b11723c1226e764a395;p=platform%2Fupstream%2Fpython3-pyparsing.git Imported Upstream version 2.4.5 --- diff --git a/CHANGES b/CHANGES index 563799c..907cfaa 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,14 @@ Change Log ========== +Version 2.4.5 - November, 2019 +------------------------------ +- Fixed encoding when setup.py reads README.rst to include the + project long description when uploading to PyPI. A stray + unicode space in README.rst prevented the source install on + systems whose default encoding is not 'utf-8'. + + Version 2.4.4 - November, 2019 -------------------------------- - Unresolved symbol reference in 2.4.3 release was masked by stdout diff --git a/PKG-INFO b/PKG-INFO index 5b52535..2ce99ea 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: pyparsing -Version: 2.4.4 +Version: 2.4.5 Summary: Python parsing module Home-page: https://github.com/pyparsing/pyparsing/ Author: Paul McGuire @@ -16,7 +16,7 @@ Description: PyParsing -- A Python Parsing Module ============ The pyparsing module is an alternative approach to creating and - executing simple grammars, vs. the traditional lex/yacc approach, or the + executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code. diff --git a/README.rst b/README.rst index dca0a71..e47d92a 100644 --- a/README.rst +++ b/README.rst @@ -7,7 +7,7 @@ Introduction ============ The pyparsing module is an alternative approach to creating and -executing simple grammars, vs. the traditional lex/yacc approach, or the +executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code. diff --git a/pyparsing.egg-info/PKG-INFO b/pyparsing.egg-info/PKG-INFO index 5b52535..2ce99ea 100644 --- a/pyparsing.egg-info/PKG-INFO +++ b/pyparsing.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: pyparsing -Version: 2.4.4 +Version: 2.4.5 Summary: Python parsing module Home-page: https://github.com/pyparsing/pyparsing/ Author: Paul McGuire @@ -16,7 +16,7 @@ Description: PyParsing -- A Python Parsing Module ============ The pyparsing module is an alternative approach to creating and - executing simple grammars, vs. the traditional lex/yacc approach, or the + executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code. diff --git a/pyparsing.py b/pyparsing.py index a0a1147..9a2dd7b 100644 --- a/pyparsing.py +++ b/pyparsing.py @@ -95,8 +95,8 @@ classes inherit from. Use the docstrings for examples of how to: namespace class """ -__version__ = "2.4.4" -__versionTime__ = "05 Nov 2019 14:15 UTC" +__version__ = "2.4.5" +__versionTime__ = "09 Nov 2019 23:03 UTC" __author__ = "Paul McGuire " import string diff --git a/setup.py b/setup.py index 2740521..604c082 100644 --- a/setup.py +++ b/setup.py @@ -4,12 +4,13 @@ from setuptools import setup from pyparsing import __version__ as pyparsing_version +from io import open # The directory containing this file README_name = __file__.replace("setup.py", "README.rst") # The text of the README file -with open(README_name) as README: +with open(README_name, encoding='utf8') as README: pyparsing_main_doc = README.read() modules = ["pyparsing",]