1try: 2 from setuptools import setup 3except ImportError: 4 from distutils.core import setup 5 6 7with open('README.md') as f: 8 readme = f.read() 9with open('LICENSE') as f: 10 license = f.read() 11 12 13setup( 14 name='langdetect', 15 version='1.0.7', 16 description='Language detection library ported from Google\'s language-detection.', 17 long_description=readme, 18 author='Michal Mimino Danilak', 19 author_email='michal.danilak@gmail.com', 20 url='https://github.com/Mimino666/langdetect', 21 keywords='language detection library', 22 packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], 23 include_package_data=True, 24 install_requires=['six'], 25 license=license, 26 classifiers=[ 27 'Development Status :: 5 - Production/Stable', 28 'Intended Audience :: Developers', 29 'License :: OSI Approved :: Apache Software License', 30 'Operating System :: OS Independent', 31 'Programming Language :: Python :: 2', 32 'Programming Language :: Python :: 2.6', 33 'Programming Language :: Python :: 2.7', 34 'Programming Language :: Python :: 3', 35 'Programming Language :: Python :: 3.2', 36 'Programming Language :: Python :: 3.3', 37 ] 38) 39