elebumm/RedditVideoMakerBot

[Feature]: Streamlining the setup using package managers

开放

#2,319 创建于 2025年6月1日

 (4 条评论) (0 个反应) (2 位负责人)Python (2,892 个派生)batch import
Check up neededdependenciesenhancementhelp wantedkeeppython

仓库指标

星标
 (12,527 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Summary

Using a package manager to have a concrete setup like uv instead of a plain requirements.txt

Is your feature request related to a problem?

So normally, while a requirements.txt file is generally effective. There can be certain issues that could be possibly encountered during setup at times, like with package depedencies, varying Python versions (for example, this project required to be run in Python 3.10), and many more.

I wanted to propose using uv, a modern Python package and project manager that offers improvements in speed, reproducibility, and better setup experience. It creates a reproducible build using a uv.lock file, which specifies all the packages and their exact versions, hashes, etc. for a more consistent environment.

It also automatically creates a virtual environment, thereby not compromising the global Python environment as well by simply doing pip install -r requirements.txt

Describe the solution you'd like

Setting up this project to use uv package manager, and setup any required elements like a .python-version file, to set the required Python version (3.10) for this project.

Describe alternatives you've considered

The alternative in this case, would be using another package manager like Poetry (not recommended). This also manages Python packages in a similar way.

But uv is a more faster, more efficient way of managing both Python packages, as well as Python versions too.

Additional Context

No response

贡献者指南