chore: use uv to manage the environment

Refactors the project to use `uv` for dependency management
instead of `poetry` and `requirements.txt`.

Updates `pyproject.toml` to remove unnecessary fields, and adds
`uv.lock` to specify exact versions of dependencies.

Updates the README with `uv` command to execute the application.
This commit is contained in:
kinoshitakenta 2025-06-20 13:37:38 +08:00
parent 8579b135cf
commit bee7927ef9
Signed by: kinoshitakenta
GPG Key ID: A811E8CA36EF425E
4 changed files with 12 additions and 17 deletions

2
.gitignore vendored
View File

@ -6,4 +6,4 @@ __pycache__/
# config file
config.toml
poetry.lock
uv.lock

View File

@ -1,3 +1,7 @@
# auto_login_EIP
`poetry run python -m main --config_path .\config.toml.example`
- 執行
```shell
# uv run python main.py --config_path .\config.toml.example
```

View File

@ -2,19 +2,19 @@
name = "auto-login-eip"
version = "0.1.0"
description = ""
authors = [
{name = "Kinoshita Kenta",email = "ybs0306748@gmail.com"}
]
readme = "README.md"
authors = [{ name = "Kinoshita Kenta", email = "ybs0306748@gmail.com" }]
requires-python = ">=3.9"
readme = "README.md"
dependencies = [
"selenium (>=4.27.1,<5.0.0)",
"tomli (>=2.2.1,<3.0.0)",
"webdriver-manager (>=4.0.2,<5.0.0)",
"rich (>=13.9.4,<15.0.0)"
"rich (>=13.9.4,<15.0.0)",
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.uv]
package = false

View File

@ -1,9 +0,0 @@
# for parsing toml file
tomli
# `webdriver_manager` manages webdriver versions
webdriver_manager
selenium
# better output
rich