|  | 
|  | 1 | +#!/usr/bin/env python | 
|  | 2 | + | 
|  | 3 | + | 
|  | 4 | +try: | 
|  | 5 | + from setuptools import setup | 
|  | 6 | +except ImportError: | 
|  | 7 | + from distutils.core import setup | 
|  | 8 | + | 
|  | 9 | + | 
|  | 10 | +with open('README.rst') as readme_file: | 
|  | 11 | + readme = readme_file.read() | 
|  | 12 | + | 
|  | 13 | +with open('HISTORY.rst') as history_file: | 
|  | 14 | + history = history_file.read() | 
|  | 15 | + | 
|  | 16 | +requirements = [ | 
|  | 17 | +] | 
|  | 18 | + | 
|  | 19 | +test_requirements = [ | 
|  | 20 | +] | 
|  | 21 | + | 
|  | 22 | +setup( | 
|  | 23 | + name='stringmetric', | 
|  | 24 | + version='0.1.0', | 
|  | 25 | + description='Python implementations of common string distance and similarity algorithms.', | 
|  | 26 | + long_description=readme + '\n\n' + history, | 
|  | 27 | + author='Stefan Fischer', | 
|  | 28 | + author_email='sfischer13@ymail.com', | 
|  | 29 | + url='https://github.com/sfischer13/python-stringmetric', | 
|  | 30 | + packages=[ | 
|  | 31 | + 'stringmetric', | 
|  | 32 | + ], | 
|  | 33 | + package_dir={'stringmetric': 'stringmetric'}, | 
|  | 34 | + include_package_data=True, | 
|  | 35 | + install_requires=requirements, | 
|  | 36 | + license='MIT', | 
|  | 37 | + zip_safe=False, | 
|  | 38 | + keywords='string metric distance similarity phonetic hamming', | 
|  | 39 | + classifiers=[ | 
|  | 40 | + 'Development Status :: 4 - Beta', | 
|  | 41 | + 'Intended Audience :: Developers', | 
|  | 42 | + 'License :: OSI Approved :: MIT License', | 
|  | 43 | + 'Operating System :: OS Independent', | 
|  | 44 | + 'Programming Language :: Python', | 
|  | 45 | + 'Programming Language :: Python :: 3', | 
|  | 46 | + 'Programming Language :: Python :: 3.3', | 
|  | 47 | + 'Programming Language :: Python :: 3.4', | 
|  | 48 | + 'Programming Language :: Python :: 3.5', | 
|  | 49 | + 'Programming Language :: Python :: 3 :: Only', | 
|  | 50 | + 'Programming Language :: Python :: Implementation', | 
|  | 51 | + 'Programming Language :: Python :: Implementation :: CPython', | 
|  | 52 | + 'Programming Language :: Python :: Implementation :: PyPy', | 
|  | 53 | + 'Topic :: Software Development :: Libraries', | 
|  | 54 | + 'Topic :: Software Development :: Libraries :: Python Modules', | 
|  | 55 | + 'Topic :: Text Processing', | 
|  | 56 | + 'Topic :: Text Processing :: Linguistic', | 
|  | 57 | + ], | 
|  | 58 | + test_suite='tests', | 
|  | 59 | + tests_require=test_requirements | 
|  | 60 | +) | 
0 commit comments