No need for a venv in Codex

This commit is contained in:
Simon Willison 2025-06-03 15:57:59 -07:00 committed by GitHub
parent ac0506e15b
commit 2292d7a56d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,20 +1,14 @@
# Repository maintenance notes
# AGENTS.md
This project uses a Python virtual environment for development and tests.
This project uses a Python environment for development and tests.
## Setting up a development environment
1. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate
```
2. Install the project with its test dependencies:
1. Install the project with its test dependencies:
```bash
pip install -e '.[test]'
```
3. Run the tests:
2. Run the tests:
```bash
pytest
```