Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document how to run tests without venv nor hatch #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ Finally, to run tests use `unittest`:
python3 -m unittest -bv
```

On platforms without hatch or venv you can also directly execute the tests:

PATH=tests/bin:$PATH PYTHONPATH=src python3 -m unittest -bv

## Project and maintainer

The bmaptool project implements bmap-related tools and API modules. The entire
Expand Down
2 changes: 2 additions & 0 deletions tests/bin/bmaptool
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/env python3 -m src.bmaptool "$@"