Skip to content

Commit

Permalink
CD Release Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dvonthenen committed Nov 28, 2023
1 parent 11c293c commit 6669f2b
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 30 deletions.
2 changes: 1 addition & 1 deletion deepgram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT

# version
__version__ = '3.0.0'
__version__ = '0.0.0'

# entry point for the deepgram python sdk
from .client import DeepgramClient, DeepgramApiKeyError
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "deepgram-sdk"
dynamic = ["version", "readme", "license", "description", "authors", "keywords", "classifiers", "dependencies"]
dynamic = ["version", "description", "readme", "license", "authors", "keywords", "classifiers", "dependencies"]

[tool.setuptools.dynamic]
version = {attr = "deepgram.__version__"}
readme = {file = "README.md"}
57 changes: 30 additions & 27 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,39 @@
# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
# SPDX-License-Identifier: MIT

import setuptools
from setuptools import setup, find_packages
import os.path

with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding="utf8") as file:
long_description = file.read()
with open("README.md", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()

setuptools.setup(
name='deepgram-sdk',
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(),
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(),
install_requires=[
'httpx',
'websockets',
'typing-extensions; python_version < "3.8.0"',
'dataclasses-json',
'dataclasses',
'typing_extensions',
'python-dotenv',
'asyncio',
'aiohttp'
"httpx",
"websockets",
"typing-extensions; python_version < '3.8.0'",
"dataclasses-json",
"dataclasses",
"typing_extensions",
"python-dotenv",
"asyncio",
"aiohttp"
],
keywords=["deepgram", "deepgram speech-to-text"],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
)

0 comments on commit 6669f2b

Please sign in to comment.