Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Conversation

@ROMANT21
Copy link
Member

No description provided.

@onkoe
Copy link
Member

onkoe commented Apr 13, 2024

image

@onkoe
Copy link
Member

onkoe commented Apr 18, 2024

to get dependencies with Rye, do rye init --no-import --py 3.10 && rm -rfd src/, then copy in this pyproject.toml file:

[project]
name = "autonomous"
version = "0.1.0"
description = "Add your description here"
authors = [{ name = "Barrett", email = "contact@barretts.club" }]
dependencies = ["opencv-python>=4.7", "flask>=2.3.2", "loguru>=0.7.2"]
readme = "README.md"
requires-python = ">= 3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = ["mypy>=1.8.0", "ruff>=0.2.0"]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["./"]

and rye sync :)

@onkoe
Copy link
Member

onkoe commented Apr 18, 2024

lmk if any of these go too far and i'll revert it

tried to keep things minimal though :3

onkoe added 9 commits April 19, 2024 16:17
accidentally stuck that return before all those calculations.

oopsie :)
...we removed the ARUCO tag YOLO like a year ago lol
otherwise, this can be an infinite loop (as accessing the camera can prevent the system from doing so to further initialize it)
we had an error that was like:

```python3
import Drive
from Drive import Drive
```

For reasons like this, it's super important to follow the spec for langs that prefer runtime checks...
@onkoe
Copy link
Member

onkoe commented Apr 20, 2024

CI passes so officially, we've won

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants