diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..d227189 --- /dev/null +++ b/__init__.py @@ -0,0 +1,2 @@ +from api import Transcriber +from utils import load_wav_to_torch, load_audio diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..224a779 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..45dd4fb --- /dev/null +++ b/setup.py @@ -0,0 +1,33 @@ +import setuptools + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +setuptools.setup( + name="ocotillo", + packages=["."], + version="1.0.1", + author="James", + author_email="james@adamant.ai", + description="A simple & fast speech transcription toolkit", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/neonbjb/ocotillo", + project_urls={}, + install_requires=[ + 'tqdm', + 'scipy', + 'torch>=1.8', + 'torchaudio>0.9', + 'audio2numpy', + 'transformers', + 'tokenizers', + ], + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + ], + download_url = 'https://github.com/neonbjb/ocotillo/archive/refs/tags/1.0.0.tar.gz', + python_requires=">=3.6", +) \ No newline at end of file