robotpy / robotpy-cli

Provides the `robotpy` and `python -m robotpy` commands for launching RobotPy projects
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Allow running robotpy at root in src layout project #4

Closed auscompgeek closed 8 months ago

auscompgeek commented 8 months ago

Previously one would've been able to run python src/robot.py sim at the project root, and things would have mostly worked.

We should make it just as easy to specify scripts in a Pipfile or poetry/pdm pyproject.toml with the new CLI.

virtuald commented 8 months ago

You can do python -m robotpy --main src/robot.py sim

auscompgeek commented 8 months ago

Ah, good point. We should probably just do the right thing here anyway.