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

Conversation

josch
Copy link

@josch josch commented Jul 17, 2024

It is possible to run bmaptool and the testsuite without venv, without hatch, without pip and without building and installing anything into venv by just running this:

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

This assumes that a tool called bmaptool is in $PATH and essentially runs python3 -m src.bmaptool.

I find this way of running the tests quite a bit easier than going through all the venv, building and installation steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant