forked from deepgram/deepgram-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 1.15 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import setuptools
import os.path
# from official Python version-detection recommendations: https://packaging.python.org/guides/single-sourcing-package-version/
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'deepgram', '_version.py')) as file:
exec(file.read())
# imports as __version__
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')) as file:
long_description = file.read()
setuptools.setup(
name='deepgram-sdk',
version=__version__, # type: ignore
description='The official Python SDK for the Deepgram automated speech recognition platform.',
long_description=long_description,
long_description_content_type='text/markdown',
license='MIT',
url='https://github.com/deepgram/deepgram-python-sdk',
author='Luca Todd',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
keywords='deepgram speech-to-text',
packages=setuptools.find_packages(),
install_requires=[
'aiohttp',
'websockets',
'typing-extensions; python_version < "3.8.0"'
],
)