Skip to content

Commit

Permalink
chore:automations
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Sep 10, 2024
1 parent a343253 commit 5f987dd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
#!/usr/bin/env python3
from setuptools import setup
import os

from setuptools import setup

PLUGIN_ENTRY_POINT = 'ovos-stt-plugin-chromium = ovos_stt_plugin_chromium:ChromiumSTT'
CONFIG_ENTRY_POINT = 'ovos-stt-plugin-chromium.config = ovos_stt_plugin_chromium:ChromiumSTTConfig'

BASEDIR = os.path.abspath(os.path.dirname(__file__))


def get_version():
""" Find the version of the package"""
version = None
version_file = os.path.join('ovos_stt_plugin_chromium', 'version.py')
version_file = f'{BASEDIR}/ovos_stt_plugin_chromium/version.py'
print(f"ERROR: version file: {version_file}")
major, minor, build, alpha = (None, None, None, None)
with open(version_file) as f:
Expand All @@ -30,7 +34,6 @@ def get_version():
return version



setup(
name='ovos-stt-plugin-chromium',
version='0.1.1',
Expand Down

0 comments on commit 5f987dd

Please sign in to comment.