generated from deepgram/oss-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathsetup.py
45 lines (40 loc) · 1.34 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
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2023-2024 Deepgram SDK contributors. All Rights Reserved.
# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
# SPDX-License-Identifier: MIT
from setuptools import setup, find_packages
import os.path
import sys
if sys.version_info < (3, 10):
sys.exit("Sorry, Python < 3.10 is not supported")
with open("README.md", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()
DESCRIPTION = (
"The official Python SDK for the Deepgram automated speech recognition platform."
)
setup(
name="deepgram-sdk",
author="Deepgram",
author_email="[email protected]",
url="https://github.com/deepgram/deepgram-python-sdk",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(exclude=["tests"]),
install_requires=[
"httpx>=0.25.2",
"websockets>=12.0,<14.0",
"dataclasses-json>=0.6.3",
"typing_extensions>=4.9.0",
"aiohttp>=3.9.1",
"aiofiles>=23.2.1",
"aenum>=3.1.0",
"deprecation>=2.1.0",
],
keywords=["deepgram", "deepgram speech-to-text"],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
)