1#!/usr/bin/env python3 2 3import sys 4import os 5import stat 6 7from setuptools import setup 8from setuptools.command.install import install 9from distutils import log 10 11import speech_recognition 12 13if sys.version_info < (2, 6): 14 print("THIS MODULE REQUIRES PYTHON 2.6, 2.7, OR 3.3+. YOU ARE CURRENTLY USING PYTHON {0}".format(sys.version)) 15 sys.exit(1) 16 17setup( 18 name="SpeechRecognition", 19 version=speech_recognition.__version__, 20 packages=["speech_recognition"], 21 include_package_data=True, 22 23 # PyPI metadata 24 author=speech_recognition.__author__, 25 author_email="azhang9@gmail.com", 26 description=speech_recognition.__doc__, 27 long_description=open("README.rst").read(), 28 license=speech_recognition.__license__, 29 keywords="speech recognition voice sphinx google wit bing api houndify ibm snowboy", 30 url="https://github.com/Uberi/speech_recognition#readme", 31 classifiers=[ 32 "Development Status :: 5 - Production/Stable", 33 "Intended Audience :: Developers", 34 "Natural Language :: English", 35 "License :: OSI Approved :: BSD License", 36 "Operating System :: Microsoft :: Windows", 37 "Operating System :: POSIX :: Linux", 38 "Operating System :: MacOS :: MacOS X", 39 "Operating System :: Other OS", 40 "Programming Language :: Python", 41 "Programming Language :: Python :: 2", 42 "Programming Language :: Python :: 2.7", 43 "Programming Language :: Python :: 3", 44 "Programming Language :: Python :: 3.3", 45 "Programming Language :: Python :: 3.4", 46 "Programming Language :: Python :: 3.5", 47 "Programming Language :: Python :: 3.6", 48 "Topic :: Software Development :: Libraries :: Python Modules", 49 "Topic :: Multimedia :: Sound/Audio :: Speech", 50 ], 51) 52