diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index e2cb9a8..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,6 +0,0 @@ -recursive-include scraibe *.py -recursive-include scraibe *.yaml -recursive-exclude test/* -global-include requirements.txt -global-exclude *.pyc -global-exclude __pycache__ diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 7ecab8c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,32 +0,0 @@ -[metadata] -name = scraibe -version = attr: scraibe.__version__ -author = Jacob Schmieder -author_email = Jacob.Schmieder@dbfz.de -description = My package description -long_description = file: README.md, file: LICENSE -long_description_content_type = text/markdown; charset=UTF-8; variant=GFM -platforms = Linux -keywords = transcription speech recognition whisper pyannote audio speech-to-text speech-to-text transcription speech-to-text recognition voice-to-speech -license = GPL-3.0 -classifiers = - Development Status :: 3 - Alpha - Environment :: GPU :: NVIDIA CUDA :: 11.2 - License :: OSI Approved :: Open Software License 3.0 (OSL-3.0) - Topic :: Scientific/Engineering :: Artificial Intelligence - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - -[options] -zip_safe = False -include_package_data = True -packages = find: -python_requires = >=3.7 -install_requires = - requests - importlib-metadata; python_version<"3.8" - -[options.entry_points] -console_scripts = - executable-name = scraibe.cli:cli \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index 3dfc95e..0000000 --- a/setup.py +++ /dev/null @@ -1,69 +0,0 @@ -import os -from setuptools import setup, find_packages - -module_name = "scraibe" -github_url = "https://github.com/JSchmie/ScAIbe" - -file_dir = os.path.dirname(os.path.realpath(__file__)) -absdir = lambda p: os.path.join(file_dir, p) - -############### versioning ############### -verfile = os.path.abspath(os.path.join(module_name, "version.py")) -version = {"__file__": verfile} - -with open(verfile, "r") as fp: - exec(fp.read(), version) - - -############### setup ############### - -build_version = "SCRAIBE_BUILD" in os.environ - -version["ISRELEASED"] = True if "ISRELEASED" in os.environ else False - -############### load requirements ############### - -with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f: - requirements = [line.strip() for line in f if line.strip() and not line.startswith('#')] - - -print(f"Launch Version: {version['get_version'](build_version)}") - -if __name__ == "__main__": - - setup( - name = module_name, - version = version["get_version"](build_version), - packages = find_packages(), - python_requires = ">=3.8", - readme = "README.md", - install_requires = requirements, - extras_require = { - "app" : ["scraibe-webui"], - }, - # dependency_links=[ - # 'https://download.pytorch.org/whl/cu113', - # ], - - url = github_url, - - license = 'GPL-3', - author = 'Jacob Schmieder', - author_email = 'Jacob.Schmieder@dbfz.de', - description = 'Transcription tool for audio files based on Whisper and Pyannote', - classifiers = [ - 'Development Status :: 3 - Alpha', - 'Environment :: GPU :: NVIDIA CUDA :: 11.2', - 'License :: OSI Approved :: Open Software License 3.0 (OSL-3.0)', - 'Topic :: Scientific/Engineering :: Artificial Intelligence', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10'], - keywords = ['transcription', 'speech recognition', 'whisper', 'pyannote', 'audio', 'ScrAIbe', 'scraibe', - 'speech-to-text', 'speech-to-text transcription', 'speech-to-text recognition', - 'voice-to-speech'], - include_package_data=True, - package_data = {'scraibe.app' : ["*.html", "*.svg","*.yml"]}, - entry_points = {'console_scripts': - ['scraibe = scraibe.cli:cli']} - )