-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from roy-ht/bump-0.6
🔖 Bump: 0.6.0
- Loading branch information
Showing
1 changed file
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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='[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", | ||
], | ||
) |