From 165150b8c0eedf4410836a328c2ac18ac79c8391 Mon Sep 17 00:00:00 2001 From: Hiroyuki Tanaka Date: Sat, 9 Oct 2021 00:23:52 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20=20Bump:=200.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/setup.py b/setup.py index 3b20e51..18facc2 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -''' +""" ------- License ------- @@ -12,52 +12,52 @@ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -''' +""" try: - from setuptools import setup, Extension + from setuptools import Extension, setup except: - from distutils import setup, Extension + from distutils import Extension, setup # for development # from Cython.Build import cythonize # ext_modules = cythonize('editdistance/bycython.pyx') ext_modules = [ Extension( - 'editdistance.bycython', - ['editdistance/_editdistance.cpp', 'editdistance/bycython.cpp'], - include_dirs=['./editdistance'], + "editdistance.bycython", + ["editdistance/_editdistance.cpp", "editdistance/bycython.cpp"], + include_dirs=["./editdistance"], ) ] -with open('README.rst') as readme_file: +with open("README.rst") as readme_file: readme = readme_file.read() setup( name="editdistance", - version='0.5.3', - python_requires='>=3.5', + version="0.6.0", + python_requires=">=3.5", description="Fast implementation of the edit distance(Levenshtein distance)", long_description=readme, - long_description_content_type ='text/x-rst', - author='Hiroyuki Tanaka', - author_email='aflc0x@gmail.com', - url='https://www.github.com/roy-ht/editdistance', + long_description_content_type="text/x-rst", + author="Hiroyuki Tanaka", + author_email="aflc0x@gmail.com", + url="https://www.github.com/roy-ht/editdistance", ext_modules=ext_modules, - packages=['editdistance'], - package_data={'editdistance': ['_editdistance.h', 'def.h']}, + packages=["editdistance"], + package_data={"editdistance": ["_editdistance.h", "def.h"]}, classifiers=[ - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', + "License :: OSI Approved :: MIT License", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", ], )