Skip to content

Commit

Permalink
Merge pull request #58 from roy-ht/bump-0.6
Browse files Browse the repository at this point in the history
🔖  Bump: 0.6.0
  • Loading branch information
roy-ht authored Oct 8, 2021
2 parents 543e42b + 165150b commit 4940560
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'''
"""
-------
License
-------
Expand All @@ -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='[email protected]',
url='https://www.github.com/roy-ht/editdistance',
long_description_content_type="text/x-rst",
author="Hiroyuki Tanaka",
author_email="[email protected]",
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",
],
)

0 comments on commit 4940560

Please sign in to comment.