diff --git a/pyproject.toml b/pyproject.toml index 4b8349c..fc504a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,9 @@ poetry = "^1.3.1" mypy = "^0.991" setuptools = "^66.1.1" +[tool.poetry.scripts] +ytxt = "ytxt.main:main" + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" diff --git a/src/ytxt/main.py b/src/ytxt/main.py index 1a373ab..243edab 100644 --- a/src/ytxt/main.py +++ b/src/ytxt/main.py @@ -8,7 +8,7 @@ it saves to a clean looking .txt file with the same name. """ import glob -from lib import argument_parsing, subtitle_cleaning, yt_dlp_stuff +from ytxt.lib import argument_parsing, subtitle_cleaning, yt_dlp_stuff def main():